Hello,
This is my first post to this mailing list,
Before exposing my troubles, I'd like to aknowlege Struts community
about the good work theire doing. Thanks folks!
Please notice that the two actions: welcome and listAllPays where
working great before i add the two other actions showPaysDetails and
editPays.
this is my configuration and listing for web.xml, struts-config.xml
and index.jsp

OS: Ms WinXP.
AS: OAS 10.1.3.0.0
struts: 1.2.9

my index.jsp:
...
<logic:forward name="welcome"/>
...

my struts-config.xml:

<struts-config>
<form-beans>
<form-bean type="com.itCom.struts.pays.editPaysForm" name="editPaysForm"/>
<form-bean type="com.itCom.struts.pays.PaysListForm" name="PaysListForm"/>
</form-beans>

<global-exceptions>

</global-exceptions>

<global-forwards>
<forward redirect="true" path="/welcome.do" name="welcome"/>
</global-forwards>


<action-mappings>
<action input="/Pays.jsp" type="com.itCom.struts.pays.ListAllPays"
validate="false" scope="request" path="/listAllPays"
name="PaysListForm">
<forward path="/PaysList.jsp" name="showPaysList"/>
</action>
<action input="/listAllPays"
type="com.itCom.struts.pays.ShowPaysDetail" scope="session"
path="/showPaysDetails" parameter="payid" name="editPaysForm">
<forward path="/PaysDetails.jsp" name="showPaysDetails"/>
</action>
<action forward="/welcomePerEtr.jsp" path="/welcome"/>

<action input="/listAllPays" type="com.itCom.struts.pays.editPays"
scope="session" path="/editPays" parameter="payid"
name="EditPaysForm"/>

</action-mappings>

<controller processorClass="org.apache.struts.tiles.TilesRequestProcessor"/>

<message-resources parameter="com/itCom/struts/ApplicationResource"/>
<plug-in className="org.apache.struts.tiles.TilesPlugin" >
<set-property property="definitions-config" value="/WEB-INF/tiles-defs.xml" />
<set-property property="moduleAware" value="true" />
</plug-in>

<!-- ========================= Validator plugin
================================= -->
<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property
property="pathnames"
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml"/>
</plug-in>

</struts-config>

my web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app 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"; version="2.4">
<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>debug</param-name>
<param-value>2</param-value>
</init-param>
<init-param>
<param-name>detail</param-name>
<param-value>2</param-value>
</init-param>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<session-config><session-timeout>
30
</session-timeout></session-config>
<welcome-file-list><welcome-file>
index.jsp
</welcome-file></welcome-file-list>
<jsp-config>
<taglib>
<taglib-uri>/WEB-INF/struts-bean.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-html.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-html.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-logic.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-nested.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
</taglib>
<taglib>
<taglib-uri>/WEB-INF/struts-tiles.tld</taglib-uri>
<taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
</taglib>
</jsp-config>
<ejb-local-ref>
<ejb-ref-name>ejb/TpaysFacadeBean</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<local-home>com.itCom.peretr.session.ejb.TpaysFacadeLocalHome</local-home>
<local>com.itCom.peretr.session.ejb.TpaysFacadeLocal</local>
<ejb-link>PersEtr-EJBModule.jar#TpaysFacadeBean</ejb-link>
</ejb-local-ref>
</web-app>

when i request the index.jsp i get a 500 error
javax.servlet.jsp.JspException: Cannot find global ActionForward for
name welcome
at org.apache.struts.taglib.logic.ForwardTag.doEndTag(ForwardTag.java:92)
at _index._jspService(_index.java:60)
[SRC:/index.jsp:26]
at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0)
].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:416)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
at 
oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0)
].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)

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

Reply via email to