• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to reload a JSP with request.getAttribute values

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' http://www.image-share.com/ijpg-1178-104.html
2.'Ask for scan data on the basis of entries in page1' http://www.image-share.com/ijpg-1178-105.html
3.'Submit after entering the scandata. ' http://www.image-share.com/ijpg-1178-106.html
(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

>LoginAction.java - Action class for the first page

>TextWriterAction.java - Action class for the welcome.jsp

Would like to have your valuable suggestions


  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic