Bookmark Topic Watch Topic
  • New Topic

Form parameters appear to be null

 
Deo Sharma
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi,
I m using a HTML form having 6 textbox with different names and calling a JSP page using submit button through form action="process.jsp". But when i m using request.getParamater("textboxname") in second JSP page i m getting some values as null and some as correct. What may be the reason can you help me?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Aside from the fact that submitting to a JSP page, and having Java code in a JSP page, are considered really really bad practices, the most likely cause is typos in the names. Make sure that they are exactly the same. Exactly. Including case.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Deo Sharma, I split this unrelated post from another topic. Please start new topics for new questions.
 
    Bookmark Topic Watch Topic
  • New Topic