struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Rizzo <eric.ri...@jibeinc.com>
Subject Re: Use of multiple struts-config files -- HELP
Date Thu, 23 Jan 2003 21:01:54 GMT
Alvarado, Juan (c) wrote:
> in struts-marketbreaks-config.xml I have the following: 
> <global-forwards>
>         <forward name="accessrights" path="accessRights.jsp"
> contextRelative="true">
>         </forward>
>     </global-forwards>
> 
> And in a JSP I want to do the following: 
> 
> <html:link forward='accessrights'>Access Rights</html:link>
> 
> When I do this, I get the following error:
> javax.servlet.ServletException: Cannot create rewrite URL:
> java.net.MalformedURLException: Cannot retrive ActionForward named
> accessrights
> The problem is that the framework is not reading the
> struts-marketbreaks-config.xml.  Can anyone tell me if they spot anythign I
> am doing wrong.
> I am new to the concept of multiple configuration files and I didn't find
> anything on the archives.

See if 
<http://jakarta.apache.org/struts/userGuide/configuration.html#module_config-switching>
helps you any. I think the global forwards in a module are "local" to 
that module, not the root of the webapp.

HTH,
	Eric
-- 
Eric Rizzo
Software Architect
Jibe, Inc.
http://www.jibeinc.com


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message