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

Passing values  RSS feed

 
John Ray Allen
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp name it as one.jsp who contains different values from different input such as textfields.My problem is that I need to pass all that values to the next page let's call it as two.jsp that validates certain values from one.jsp thru a bean named bean.java. Once the validation is done one.jsp is being included to the present page..It appears to me that all that the values I inputted is cleared once I included one.jsp to two.jsp..need ur opinion guys..thanks!
 
Bharath Prathipati
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ray,
you can maintain a session which carries all the values, and when u inlcude the first jsp, set values of all its components to their respective values.

hope this helps,

regards
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65826
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Royal Conquerer",

We're pleased to have you here with us on the Ranch, but there are a few rules that need to be followed, and one is that proper names are required. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
Forum Bartender
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!