• Post Reply Bookmark Topic Watch Topic
  • New Topic

POst back and Viewstate  RSS feed

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we have session get attribute to do tasks mentioned in topic

is there any other process with which we could easily do Post back and view state, as i have to save state of 10 text boxes and i could not create 10 sessions/getsetattribute for it

i have searched it for in net but i haven't found.

i am doing simple thing
a text box is used for search, i made in jsp
control goes to servlet and return back to jsp
it gives list of results but do not retain value which was entered by user

i want to retain it, as it is, but do not want to use session.........

Secondly i have 15 columns if i will use hidden field method then i have to create 15 more hiddden fields...because there is comparitive search too.

Thanks
 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) i was thinking of making a bean class, which will take all values and will declare there value static
2) on jsp page, i will gonna call that bean class after
is this idea appropriate?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!