Re: forwardPattern and Action Relaying

2005-11-13 Thread alec lee
Paul Benedict yahoo.com> writes: > > >> /myApp/WEB-INF/module/actionB.do! > > I never ever seen Struts resolve to WEB-INF. That's a file system path. Struts paths are URI which > are not in the file system. > > That is because of the I used which prepend "/WEB-INF" to every p

Re: forwardPattern and Action Relaying

2005-11-13 Thread alec lee
Paul Benedict yahoo.com> writes: > > There is a module attribute to the forward tag. From the DTD: "The module prefix to use with this > path. This value should begin with a slash ("/")." > Thx but after using the URL resolves to "/myApp/WEB-INF/module/actionB.do"! What I need is a url that

forwardPattern and Action Relaying

2005-11-13 Thread alec lee
I am using modules and placing my JSPs under /WEB-INF. My understanding is that struts support this configuration by using forwardPattern="/WEB-INF$M$P" > in my struts-config-module.xml to map forward path to the proper module relative URL. However, what if now I want to relay from one action

forwardPattern and Modules

2005-11-13 Thread alec lee
I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do" contextRelative="false"

SwitchAction get Affected by forwardPattern

2005-11-11 Thread alec lee
I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do" contextRelative="false"

SwitchAction get Affected by forwardPattern

2005-11-08 Thread alec lee
I am using Struts 1.2.4. I have 2 modules and was trying to switch from default to moduleA. In my moduleA, I've used , since my JSP's are inside WEB-INF. In my default module, I have these lines: ... path="/switch.do?prefix=/moduleA&page=/synForm.do" contextRelative="false"