I need to use servlet mapping for the jsp form and I cannot get it working, nor can I figure out why. It is a requirement to use the form action tag exactly as-is
JSP
web.xml
Servlet Name: EnrollmentAdmin.java stored in the edu.vt.cs5244 package
Thanks. The form action is a requirement to use it exactly as-is.. so I cannot change it to a better practice.
The url in the web.xml mapping must begin with "/". When I match it exactly with the form action "servlet/edu.vt.cs5244.EnrollmentAdmin", netbeans throws an error as shown below: