But using the switch action is a bit strange since I do not want to switch
module but stay in the current module.

Hm however if the module is only request scoped... ???

> -----Original Message-----
> From: Sandeep Takhar [mailto:[EMAIL PROTECTED]
> Sent: Montag, 7. Juli 2003 17:59
> To: Struts Users Mailing List; [EMAIL PROTECTED]
> Subject: Re: jsp links to stay within module
>
>
> there is a SwitchAction that you can use.
>
> someone else probably has more details...
> sandeep
> --- ben <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I link 2 jsp's in moduleA (=not default module).
> > In order for struts to stay within moduleA i learnt
> > i cannot href the jsp
> > directly, because the module will then switch again
> > to the default. I cannot
> > make the module session persistent, right?
> >
> > When then using a forward action like below, I get a
> > 404:
> >
> > message Invalid path /prodSubmit was requested
> >
> > source jsp:
> > <a href="osscatalog/prodSubmit.do">Submit a
> > Product</a><br>
> >
> > struts-config-moduleA.xml:
> >
> >       <action path="/osscatalog/prodSubmit"
> >
> > type="org.apache.struts.actions.ForwardAction"
> >              name="prodSubmitForm"
> >
> > parameter="/osscatalog/prodSubmit.jsp"/>
> >
> >
> >
> > Ideas?
> >
> > Cheers ben
> >
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> > [EMAIL PROTECTED]
> > For additional commands, e-mail:
> > [EMAIL PROTECTED]
> >
>
>
> __________________________________
> Do you Yahoo!?
> SBC Yahoo! DSL - Now only $29.95 per month!
> http://sbc.yahoo.com
>
> ---------------------------------------------------------------------
> 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]

Reply via email to