Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Session Maintainence  RSS feed

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am told to use Servlets to maintain content in text box.

there is 500 lines JSP code
inside it there is a TEXT BOX, and a search button

when someone click Search button output comes, but State should be manage.

my friend said me to use out.println(<input type=text box, value=request.getparam(name))
to maintain state
but i am not getting how to show this on client side. with maintained state text box.

Kindly someone help

bit code

 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
He's not your friend if he told you that this was a good way to do anything like this.

That aside, textarea values go between the opening and closing textarea tags, not in a textarea's "value" attribute.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!