File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Frameworks » Struts
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: 85
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.
 
Don't get me started about those stupid light bulbs.
 
subject: How do i come back to the same page in the display tag after submitting the form.