• 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

Passing values to jsp page

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I want to pass values from one jsp page to other without submitting jsp page.
let us say
I have a.jsp based on some criteria i will redirect to some other jsp (b.jsp)or html. One way is redirecting with (b.jsp?usr)parameters.
In that case user knows about the values passed. I want to pass the values as though they were submitted to b.jsp.
How can i achive this?
Thanks
Vetri selvi
 
Ranch Hand
Posts: 1467
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Selvi,
HttpSessions are there for these kind of need. Please go through this related discussion.
ALso please re-register with your first and lastnames.
regds
maha anna http://www.javaranch.com/ubb/Forum7/HTML/002674.html
 
author
Posts: 3252
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by maha anna:
Selvi,
HttpSessions are there for these kind of need.


Also worth considering is binding your parameters in the HttpRequest and using a forward.
- Peter

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic