aspose file tools*
The moose likes Struts and the fly likes Taking input and doing stuff with it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Taking input and doing stuff with it" Watch "Taking input and doing stuff with it" New topic
Author

Taking input and doing stuff with it

Fame Devon
Greenhorn

Joined: Oct 05, 2012
Posts: 13
Hello frnds,

My problem is...

I have a jsp page(AddEntry). It has a textfield and a submit button. When the submit button is clicked, the new page is displayed.
But then I want to link the text entered to my class and add that text in my hashTable alongwith a random number...

Next thing is not much related to jsp, I save that hashTable in a text file. Then,

I have another jsppage(viewEntry). Now this page has a form and a submit button. When I enter any username in that box and click submit, that username and the random value attached in the hashtable must be retreived from the text file and displayed in the jsp page.

Thats the problem. I've created all the jsp pages, the struts.xml file and the POJO where the username will be stored. Please help me out after that.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Taking input and doing stuff with it