Hi,
In my web.xml I have defined a default and named module as follows:
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<init-param>
<param-name>config/admin</param-name>
<param-value>/WEB-INF/struts-config-admin.xml</param-value>
</init-param>
And
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
Where index.jsp is simply:
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<logic:forward name="logon"/>
However, it seems that when I request the absolute URL:
http://localhost/myApp/admin/ (i.e. index.jsp)
Struts seems to look in my default struts-config.xml rather than in the module
specific struts-config-admin.xml
i.e. I get
javax.servlet.jsp.JspException: Cannot find global ActionForward for name logon
The global-forward
<global-forwards>
<forward
name="logon"
path="/Logon.do"/>
Is defined in struts-config-admin.xml
I can tell struts is looking in the wrong place because if a make a forward in thew
default config struts resolves the forward....
Any suggestions?
TIA
Lawrence
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.547 / Virus Database: 340 - Release Date: 02/12/2003
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]