I'll vouch for the fact that contextRelative works, and should work
according to your included configuration-- barring some bug in a build more
recent than the one I'm using (unlikely).  

Have you tried a different name for either the default or sub app's path?  I
know there have been some bugs surrounding the path matching with sub-apps--
Eddie Bush is the person I've seen discussing this most recently...

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:Armin_Sproll@;rcomext.com]
Sent: Monday, October 21, 2002 11:23 AM
To: [EMAIL PROTECTED]
Subject: contextRelative in local forward


Hello all,

I try to change our struts configuration to use sub-applications. The
forward from the default application to the sub-application seems to be
working fine. However, I can't seem to be able to get to a jsp file outside
the sub-application action. I am always getting an error from Tomcat as the
sub-application name has been added to the jsp path. Any ideas what I am
doing wrong here?

Thanks for any help!


struts-config.xml (DEFAULT APPLICATION)
-------------------------------------------------------
<action-mappings>
      <action path="/navigate" type
="com.swissre.edms.web.navigate.InitNavigateAction">
                  <forward name="xxx" path="/cms/navigate.do"/>
            ...
       </action>
</action-mappings>


struts-config-cms.xml (SUB APPLICATION cms)
------------------------------------------------------------
<action path="/navigate" type="xxx.prj.cms.navigate.CMSNavigateAction">
      <forward name="continue" contextRelative="true" path
="/core/navigate/navigate.jsp"/>
</action>

____________________________________________________________________________
___

This e-mail, including attachments, is intended for the person(s) or
company named and may contain confidential and/or legally privileged
information. Unauthorized disclosure, copying or use of this information
may be unlawful and is prohibited. If you are not the intended recipient,
please delete this message and notify the sender.




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

Reply via email to