web.xml
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
In the
struts application even if I have user correct servlet class still it is showing the error as
"INFO: Servlet action is currently unavailable" and not getting Forwarded as per my requirement.
struts-config.xml
still it is not forwarded nor to the userConsole.jsp page neither to the adminConsol.jsp page just showing the error as:
HTTP Status 404 - Servlet action is not available
Please help me out.