Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Struts and the fly likes How do i come back to the same page in the display tag after submitting the form. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "How do i come back to the same page in the display tag after submitting the form." Watch "How do i come back to the same page in the display tag after submitting the form." New topic
Author

How do i come back to the same page in the display tag after submitting the form.

Satish Kumar
Ranch Hand

Joined: Oct 16, 2006
Posts: 84
I am using display tag for displaying the data to the user.
My requirement needs to take input into the checkboxes and the checkboxes are in a column in the display tag.
After selecting the checkboxes I need to save the status of the checkboxes on a SAVE button that submits the form to the bean and i can get the values from there before re-displaying the page again.
My problem is that suppose i am on X-page link inside the display tag and do the above procedure to save the data from the bean somewhere...How do i make sure that the same X-page is displayed in the display tag and that too with the checkboxes checked again automatically.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How do i come back to the same page in the display tag after submitting the form.
 
Similar Threads
Checkbox Issue
Checkbox issue
Maintain checked and unchecked in checkbox in pagination in display tag in struts
Using Struts : Populate checkboxes from Database in JSP
how to maintain the state of checkboxes across page