Subject: Re: Configuring sub-applications From: Bill Wohler <[EMAIL PROTECTED]> === "Martin Cooper" <[EMAIL PROTECTED]> writes: > > However, with the configuration above, this gets mapped to the > > nonexistent file: > > > > /myapp/subapp1/docroot/subapp1/myaction/page.jsp > > You probably want to set your forwards to be context relative. The default > is for them to be prefixed with the sub-app name. To do that, add the > 'contextRelative' attribute to your forwards like this: > > <forward ... contextRelative="true" ... />
Uh oh. This works great for forward, but what about the action's input attribute? It seems action needs an inputContextRelative attribute... Uh oh. Now my html:img and html:link URLs are broken too. I'd like these to be relative to the webapp, not the subapps. Except for the contextRelative attribute, it appears that the concept of subapps is "strong" meaning that a subapp is on par as an app. I essentially wanted the same directory structure, but separate configuration files. Maybe there's another cool attribute that elludes me. -- Bill Wohler <[EMAIL PROTECTED]> http://www.newt.com/wohler/ GnuPG ID:610BD9AD Maintainer of comp.mail.mh FAQ and mh-e. Vote Libertarian! If you're passed on the right, you're in the wrong lane. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

