Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Taking input and doing stuff with it

 
Fame Devon
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic