File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes how to change URL??  URGENT pls. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply Bookmark "how to change URL??  URGENT pls." Watch "how to change URL??  URGENT pls." New topic
Author

how to change URL?? URGENT pls.

ramu av
Greenhorn

Joined: Feb 25, 2003
Posts: 28
hello evybody,
i'm using the <jsp:forward> directive to transfer the control from one jsp to another. but the URL in the browser shows the previous page. i want to change this url. but how? If i REFRESH the previous page gets refreshed.

kindly give some solution to this problem.
thanx in advance.
ramu
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Try response.sendRedirect( url ) instead.


[ JavaRanch FAQ ][ Book Promotions ][ DbTamer ][ BumperStickers ][ JavaRanch Badges ]
 
IntelliJ Java IDE
 
subject: how to change URL?? URGENT pls.
 
Threads others viewed
URL of the previous page
Ajax back button problem
How to make browser remember in-page navigation history?
difrrenc between sendRidirect and forward
logout
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com