It's not a secret anymore!*
The moose likes JSP and the fly likes Form parameters appear to be null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

Form parameters appear to be null

Deo Sharma
Greenhorn

Joined: Apr 14, 2012
Posts: 12
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

Joined: Jan 10, 2002
Posts: 60782
    
  65

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.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60782
    
  65

Deo Sharma, I split this unrelated post from another topic. Please start new topics for new questions.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Form parameters appear to be null
 
Similar Threads
Regarding cookies disabled and session info lost
Validation
s:iterator tag in jsp page
Forms in Jsp
how to refresh a jsp page