X
Xeth Waxman
Greetings:
I am unable to get the tomcat server bundled with netbeans (v3.6) to
recognize my servlet. The front-end jsp will render, but when
clicking on the form's submit button, I get a 404 "resource not
available" message. The only mention of this in netbeans can be found
here (http://www.netbeans.org/kb/faqs/web_apps.html#21). My web.xml
is now configured as follows:
....
<servlet>
<servlet-name>ClaimForCredit</servlet-name>
<servlet-class>com.gcc.ClaimForCredit</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ClaimForCredit</servlet-name>
<url-pattern>/claimforcredit</url-pattern>
</servlet-mapping>
and is invoked from the form with the following tag:
<FORM METHOD="POST" ACTION="/servlet/com.gcc.claimforcredit">
Does anyone have any idea what I should do next? I have a standalone
install of Tomcat 5 installed, and it does the same thing, so I don't
think it's a netbeans specific issue. The servlet is in
<project-root>/WEB-INF/classes/com/gcc/ Thanks.
Xeth Waxman
(e-mail address removed)
I am unable to get the tomcat server bundled with netbeans (v3.6) to
recognize my servlet. The front-end jsp will render, but when
clicking on the form's submit button, I get a 404 "resource not
available" message. The only mention of this in netbeans can be found
here (http://www.netbeans.org/kb/faqs/web_apps.html#21). My web.xml
is now configured as follows:
....
<servlet>
<servlet-name>ClaimForCredit</servlet-name>
<servlet-class>com.gcc.ClaimForCredit</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>ClaimForCredit</servlet-name>
<url-pattern>/claimforcredit</url-pattern>
</servlet-mapping>
and is invoked from the form with the following tag:
<FORM METHOD="POST" ACTION="/servlet/com.gcc.claimforcredit">
Does anyone have any idea what I should do next? I have a standalone
install of Tomcat 5 installed, and it does the same thing, so I don't
think it's a netbeans specific issue. The servlet is in
<project-root>/WEB-INF/classes/com/gcc/ Thanks.
Xeth Waxman
(e-mail address removed)