Skip to content Skip to sidebar Skip to footer

Servlet Request.getparameter() Always Returning "null"

I have read through all related questions, trying every accepted answer and I still am finding no luck. I have a website running on tomcat, with a subpage /Demo/ which has four tex

Solution 1:

The method on your form tag is post but you have implemented doGet in your servlet. Also the action on your form tag is DemoServlet but should be something like ../demo-servlet You probably don't need onClick at all.


Post a Comment for "Servlet Request.getparameter() Always Returning "null""