dcsimg
** remember the previous page ** HELP PLS !!!
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Shan_Thiruvarur
Posted On:   Friday, February 13, 2004 05:00 AM

help me pls i'm using a struts application. say from page 1 i'm going to page 2 in page 2 i will do some action then i will come back to page 1 ( from page 2 ) problem lies here ... when i come back ... i want the values in the page1 to be retained ... say before going to page 2, there was a text field with value "xyz" when i come back i want to see the same "xyz" in page1 ... the above is a simple eg ... the actual page1 will contail several fields including tables. hope i had made my problem clear ... experts help pls. thanks    More>>

help me pls

i'm using a struts application.

say from page 1 i'm going to page 2

in page 2 i will do some action

then i will come back to page 1 ( from page 2 )




problem lies here ...

when i come back ... i want the values in the page1 to be retained ...

say before going to page 2, there was a text field with value "xyz"

when i come back i want to see the same "xyz" in page1 ...




the above is a simple eg ... the actual page1 will contail several fields including tables.




hope i had made my problem clear ...



experts help pls.



thanks and regards
shan

   <<Less

Re: ** remember the previous page ** HELP PLS !!!

Posted By:   Vinay_Sarwate  
Posted On:   Friday, February 13, 2004 03:47 PM

One of the simplest solution would be to store bean used for page 1 in session scope. This way it will remain there no matter how many pages you visit.
About | Sitemap | Contact