[JAVA] Note on the path of request.getRequestDispatcher

Even if the qualified name is

/dev/WebContent/jsp/result.jsp

The path for screen transition is

request.getRequestDispatcher("/WebContent/jsp/result.jsp").forward(request,response );

Not the above description

request.getRequestDispatcher("/jsp/result.jsp").forward(request,response );

Describe without WebContent. I get a 404 error when I have WebContent.

Recommended Posts

Note on the path of request.getRequestDispatcher
A note about the seed function of Ruby on Rails
[Ruby on Rails] Change the save destination of gem refile * Note
Display text on top of the image
A note on the libGDX Utils class
Samshin on the value of the hidden field
Looking back on the basics of Java
A rudimentary note on the Fibonacci sequence
[Ruby on Rails] Until the introduction of RSpec
[Note] Java: Measures the speed of string concatenation
Install the latest version of Jenkins on Ubuntu 16
I touched on the new features of Java 15
A quick note on using jshell with the official Docker image of the JDK
String # split (String regex, int limit) Note on the operation specifications of the second argument
[Ubuntu 20.04] Display the day of the week on the date / clock
The world of clara-rules (2)
Please note the division (division) of java kotlin Int and Int
Path of Jar file running on AWS Elastic Beanstalk
The mark on the right side of the version-controlled Xcode file
Docker the development environment of Ruby on Rails project
Judgment of the calendar
The world of clara-rules (4)
The world of clara-rules (1)
The world of clara-rules (3)
Learn the meaning of "passing the PATH" by building a Java development environment on Mac
The world of clara-rules (5)
The idea of quicksort
A review note of the Spring Framework Resource interface
Try using the query attribute of Ruby on Rails
The idea of jQuery
[Note] Java Output of the sum of odd and even elements
A memorandum of the environment variable "JAVA_HOME" path setting procedure
20190803_Java & k8s on Azure The story of going to the festival
(Ruby on Rails6) Display of the database that got the id of the database
Delete all the contents of the list page [Ruby on Rails]
Until the production deployment of hello-app with k3d on Time4VPS
I tried JAX-RS and made a note of the procedure
[Note] About the Fizz_Buzz problem (How Ruby on Rails works)
How to check the database of apps deployed on Heroku
About the handling of Null
[Path specification] Path specification of nested resources
Docker monitoring-explaining the basics of basics-
Note the StringUtils # containsAny method
A note about the scope
About the description of Docker-compose.yml
Understand the basics of docker
The play of instantiating java.lang.Void
Explanation of the FizzBuzz problem
The basics of Swift's TableView
Median of the three values
The illusion of object orientation
Note: Install PostgreSQL 9.5 on Ubuntu 18.04
Switch the version of bundler
[Swift] How to dynamically change the height of the toolbar on the keyboard
How to display 0 on the left side of the standard input value
[Rails / Heroku / MySQL] How to reset the DB of Rails application on Heroku
Change the conversation depending on which day of the week is today
The behavior of JS running on `Java SE 8 Nashorn` suddenly changed
Get the acceleration and bearing of the world coordinate system on Android
Released the No Todo app instead of Todo. .. (And notes on ridgepole)