Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

communication out.println and request parameter

 
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
ExamLab Creator
Marshal
Pie
Posts: 4588
302
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