OK, completely noob to JSP here. I need to find the code that handles a form submission, but I did a text search and can’t find it at all.
I have this in my web.xml
<servlet-mapping>
<servlet-name>myservlet</servlet-name>
<url-pattern>/flow.htm</url-pattern>
</servlet-mapping>
The flow.htm is where the form is posting to. How do I locate the java code that handles the post?
In the same
web.xmlthere must be a declaration ofmyservletservlet similar to this:com.example.YourServletis the class you should investigate (of course in your code it will be a different class). If your form sends the data using POST, look atdoServicemethod in this class.