Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Struts Application is not working

umeshawasthi

2007-10-03



Hi All,
I am new to struts,i have developed a small application but it is not
running,it is displaying the index page correctly but not forwarding the
request.i developed the application using my eclipse.when i checked the
tomcat log file it is showing the exception that it is not able to find the
ActionServlet class,where as i have configured the struts-config classs
correctly in the web.xml file i m also pasting the content of the web.xml
file.Please help me to find out the error.

<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>
<load-on-startup>2</load-on-startup>
</servlet>


<!-- Standard Action Servlet Mapping -->
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>

Regards,
Umesh
--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.