Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to reload a JSP with request.getAttribute values  RSS feed

vishnuu soman
Posts: 1
Eclipse IDE MS IE Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,
I have this application where i want to populate a text file on the basis of entries entered from user interface.
I chose Struts1 for this and i have been able to complete most of the functionalities.But the part of keeping on populating the
text file on the basis of user entries in my JSP is something i am struggling with. The following are the flow of pages on user interface

1.'Accept user entries'
2.'Ask for scan data on the basis of entries in page1'
3.'Submit after entering the scandata. '
(I have been able to straighten the null values in the images via session variables)
message is seen with null entries like this Post validation.
My questions are:
2. What should be used so that there is a scenario that the users enter the Scan Data on page 2 and can continue to enter
more scan data values by falling back on the same JSP . I was thinking on the lines of reloading the page using JavaScript
on the button click. Is it the right approach?

The relevant code for this is

> - Action class for the first page

> - Action class for the welcome.jsp

Would like to have your valuable suggestions


  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!