Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to change URL?? URGENT pls.  RSS feed

 
ramu av
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try response.sendRedirect( url ) instead.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!