Forums Register Login

Re directing

+Pie Number of slices to send: Send
what is redirecting? Is it the way to forward the request to the other servlet or JSP. BTW I know that RequestDispatcher object can be used to forward or include a Servlet or JSP. So what is this URL redirecting?
+Pie Number of slices to send: Send
A redirect send sa message back to the browser to make a new request using the redirect URL that you provide. It is different from a forward or include in that it results in a new request which will not implicitly carry over any paramters or attributes from the original request.
hth,
bear
+Pie Number of slices to send: Send
Yah Mini
Its a way to forward request to another JSP or Servlet.. It is mostly used in the Despatcher model (N-tier) of the JSP.. The basic moto behind redirection is to separate the business logic from the presentation and include as less java code as possble in the presnetation layer.
An elephant? An actual elephant. Into the apartment. How is the floor still here. Hold this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 670 times.
Similar Threads
forward in jsp
passing an ArrayList from a servlet to JSP
problem in displaying error in jsp page
forwarding request to some other server
send a variable id to a deleteServlet how?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 06:11:02.