Hi,

Is it the right way I can specify the web.xml as below for my Struts2 action
to be called? I am using Rad6 for development and WAS6 as testing server.  I
am getting a page cannot be found error:

Do I need to specify the struts.xml as config file in my web.xml???

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";>       
  <display-name>Struts 2 Demo</display-name>
        <filter>
                <filter-name>struts</filter-name>
        
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
        </filter>
        
        <filter-mapping>
                <filter-name>struts</filter-name>
                <url-pattern>*.action</url-pattern>
        </filter-mapping>
</web-app>

thanks & regards,
Bhukar.
-- 
View this message in context: 
http://www.nabble.com/Struts2---FilterDispatcher-tf4383696.html#a12496801
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to