File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Taking input and doing stuff with it" Watch "Taking input and doing stuff with it" New topic

Taking input and doing stuff with it

Fame Devon

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.
It is sorta covered in the JavaRanch Style Guide.
subject: Taking input and doing stuff with it
Similar Threads
Refreshing frame containing xls table?
Post Production Problem ActiveX JavaScript - Urgent!!
Reading password information from a text file.
Add new text field on each press of a button and retrieve values
pagination problem