Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

alernate for session??

 
sudharshan tettu
Ranch Hand
Posts: 126
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello

In my application i have a series of 4 pages,in which i have to retrieve a value user entered on first page , on the 3rd page,for which i am presently setting the field to session and retrivin it on the 3rd page.
But idont want to use session..is there any other way to use it?
 
azhar bharat
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can use hidden fields.
i.e. <input type="hidden" ... > or <html:hidden ... >

You have to populate and read from the hidden fields just as you would with any other input fields.
 
poornima balagopal
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
When you submit your first page, you can set the value you want in the 3rd page to the form if you are using the same form for the 3rd page. If your form is in request scope, when you come from second page , make sure that its available to pass to 3rd page.For this when you submit your 2nd page, you need to check whether the value is available or not , if yes, set back to the form.
This is my idea.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic