Quote:
Originally Posted by prodigyjohn
Hai Everybody,
I am new to Java coding; I want to solve a problem in Jsp and servlet. Here I am having a pop in main-form, when the pop is pressed it will pass to the sub-form. After filling the sub-form it will back to main form.
My problem is, while I am getting a value from the sub-form to main-form, the page is refreshing. It is ok, but the value already in the main-form textboxes gets disappeared. But I want the buffer value at same textbox after refreshing. I don’t know what to do. Please help me to solve this problem....
Lots of Thanks in Advance....
When you're working with Servlets and JSPs remember that the traffic always goes from the client to the server and vice versa; there is no way to go 'back', so if you want to give the impression that you go 'back' from the sub form to the main form you have to populate the fields in the main form again; it's the responsibility of the servers, nothing automagically 'remembers' those field values for you.
kind regards,
Jos