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.