aspose file tools
The moose likes JSP and the fly likes does URL change when using Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "does URL change when using "forward(req, res)" ?" Watch "does URL change when using "forward(req, res)" ?" New topic
Author

does URL change when using "forward(req, res)" ?

Ian Yang
Ranch Hand

Joined: Nov 27, 2001
Posts: 44
When using "forward(req, res)" in a servlet to forward to a jsp page, the content switch to the jsp page, but does the URL also change to that jsp page or just stay as the servlet's URL ?
thanks,
ian
Roy Ben Ami
Ranch Hand

Joined: Jan 13, 2002
Posts: 732
please dont repost your question all over java ranch.
i answered u in servlets.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: does URL change when using "forward(req, res)" ?
 
Similar Threads
servlet sendRedirect()
best approach
Problem with getRequestDispatcher()'s forward. Any alternatives?
does URL content change when I use .forward()
properly calling of getRequestDispatcher() ???