None of the 4 ways described in the user guide suits me... 1- Using <html:link module="moduleB" path="/menu.do"/> means page flow is coded in JSP
2- Using ActionMapping means you are coding a Action class 3- Using global-forwards means you are coding a Action class or referencing it in a html:link => hard coded page flow in JSP 4- Using org.apache.struts.actions.SwitchAction and typing http://localhost:8080/toModule.do?prefix=/moduleB&page=/index.do means page flow is coded in JSP and is not really secure... As I said, I want my page flow configured in my xml config files, not in my JSPs. And obviously, I do not want to code any Java Action, just for a redirection This might be a config issue only. The only solution I found by now is to code a dummy Action (just returning success) so that I can use <forward name="success" module="moduleB" path="/menu.do" redirect="true"/> Well, now maybe I missed something about switching module... Anybody have a hint ? Thanx. Jean. On Mon, 04 Oct 2004 09:01:30 -0400, Jeff Beal <[EMAIL PROTECTED]> wrote: > > > jean kon-sun-tack wrote: > > In my "companyList" screen I have a cancel button (/companyList/cancel.do). > > In moduleA-struts.xml, why can't I have something like : > > > > <action path="/companyList/cancel" forward="/menu.do" > > module="moduleB" redirect="true"/> > > > > I want my page flow configured in my xml config files, not in my JSPs by doing : > > <html:link module="moduleB" path="/menu.do"/> > > > > Is there another way to do that ? > > Thanks. > > > > Jean. > > http://struts.apache.org/userGuide/configuration.html#module_config-switching > describes three or four ways to switch modules. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]