1) I'm a newbie on struts, but I just got hired to be the expert on my
project.:)
2) Everything I'm about to say works under tomcat perfectly.
OK, so the problem is that when I deploy my app and access it, I get the
following error:
Error 404: SRVE0190E: File not found: /do/start
Here's the interesting part of my 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>
<init-param>
<param-name>validating</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
And my struts-config.xml:
<global-forwards>
<forward name="start" path="/start.do" />
<forward name="login" path="/login.do" />
<forward name="timeOut" path="/base/login.jsp" />
<forward name="home" path="/home.do" />
<forward name="error" path="error.system" />
</global-forwards>
<!-- =================================== Action Mapping Definitions -->
<action-mappings>
<action path="/start"
type="org.apache.struts.actions.ForwardAction"
unknown="true"
parameter = "/base/login.jsp"
/>
...
I have an index.jsp so that people can access this from the root. Here's
what it looks like:
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<logic:redirect forward="start"/>
So it should request start which eventually gets resolved to login.jsp,
right?
So why the error only under websphere and why is my browser pointing to
http://ejuror:9080/ejuror/do/start?
Something has to be getting messed up with my mapping right? But it has to
be running part of it or I wouldn't get the error there.
Anyone have any advice on this?
Thanks.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]