Hello, I am just in the course of moving from 1.0.x to 1.2 and the new version should make heavy use of the modules that came with 1.1. Now here is my problem:
I want to store a global forward in any module's config file named "moduleHome" where "module" would be replaced with the actual module name. In the "main" app, I want to have an action "loadModule.do" that should be told where to forward to via a parameter. While this works well, as long as the global forwards are all in the "main" config file, it fails as soon as I put them in the individual module-config-files. Is this a "known feature", or am I just doing something wrong? This is how it works: --------- struts-config.xml ---------- <struts-config> ... <global-forwards> <forward name="home" path="/index.jsp" redirect="false"/> <forward name="loginform" path="/login.jsp" redirect="false"/> <forward name="error500" path="/error/err500.jsp" redirect="false"/> <forward name="trylogin" path="/loginAction.do" redirect="false"/> <forward name="indexHome" contextRelative="true" path="/index/index.do" redirect="true"/> .... more .... </global-forwards> ... </struts-config> --------- end --------- this is how it does NOT work: --------- struts-config.xml ---------- <struts-config> ... <global-forwards> <forward name="home" path="/index.jsp" redirect="false"/> <forward name="loginform" path="/login.jsp" redirect="false"/> <forward name="error500" path="/error/err500.jsp" redirect="false"/> <forward name="trylogin" path="/loginAction.do" redirect="false"/> </global-forwards> ... </struts-config> --------- index-config.xml ---------- <struts-config> ... <global-forwards> <forward name="indexHome" contextRelative="true" path="index.do" redirect="true"/> </global-forwards> ... </struts-config> --------- end --------- many thanks, Peter --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]