Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

communication out.println and request parameter  RSS feed

 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what i am doing is i am making a dynamic page on fly using



In jsp file i have huge code in which same parameters are present,
above i made on servlet to save the state of textboxes.

sometime servlet returns NULL, but variable do have value

like ParameterID = 5 in servlet

but when called using REQUEST.GETPARAMETER("ParamID"); on jsp then it takes null.

WHY???
 
Devaka Cooray
Marshal
Posts: 5564
710
Chrome Eclipse IDE Google App Engine IntelliJ IDE jQuery Postgres Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Azrael Noor wrote:above i made on servlet to save the state of textboxes.

Why do you need a servlet to do that? Not JSP?
 
Azrael Noor
Ranch Hand
Posts: 385
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
because i was said to do so.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!