• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

redirecting with jsp

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Is there a relatively simple way to auto-redirect from one jsp to another?
Apparently doesn't work with jsp. I simply need to bring up a notification page when the user changes password, etc. and pass the new data along to the next jsp, while pausing in the notification page for a few seconds.
Thanks much for your help.
[ August 02, 2002: Message edited by: Med Shabe ]
 
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try "response.sendRedirect("pagename.jsp")"
 
Author
Posts: 160
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Amit Roy:
try "response.sendRedirect("pagename.jsp")"


You can also use JSTL's <c:redirect> tag, which will handle session encoding for you (and normalize relative URLs, prepending the context path when necessary).
reply
    Bookmark Topic Watch Topic
  • New Topic