Java class Application processing (calculation processing, etc.), data storage
JPS file Screen display
Servlet class Request reception, processing execution request (Model), result display request (View)
Move processing to another Servlet class or JPS class (internal) URL is the state at the time of request
Description
RequestDispatcher dispatcher = request.getRequestDispatcher("Forward destination");
dispatcher.forward(request, response);
Move processing to another Servlet class or JPS class (external) URL changed to redirect destination
Description
response.sendReddirect("Redirect URL");
Recommended Posts