Hi ,
I am new to
java servlets I am getting The requested resource is not available.
I am having one mainpage.jsp where I am trying to submit using the form action"" and in web.xml proper servlet name and mapping is done.
Please let me know what is wrong with the below code in .jsp and web.xml
IN MainPage.jsp
<form action="databasedetails" method="post">
In this .jsp page when i click on submit button it is not calling the
servlet DBDetailsServlet...
and in web.xml
<servlet>
<servlet-name>DBDetailsServlet</servlet-name>
<servlet-class>com.abc.DBDetailsServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DBDetailsServlet</servlet-name>
<url-pattern>/databasedetails</url-pattern>
</servlet-mapping>
Thanks in advance .
orion