Jan,

are you doing a redirect in order to get to your login screen?

If so, try redirect="false" ... I remember having a similar problem...

Regards,

Michael


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 11:29 PM
Subject: Re: problem using html:form in different struts-modules


> Hi,
>
> i already tried to use
>
> html:form action="/account/Login.do"
>
> but i only get an error:
>
> [ServletException in:/jsp/tiles/general/footer.jsp] Cannot retrieve
mapping
> for action /account/Login'
>
>
> ----- Original Message -----
> From: "Michael Delamere" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Wednesday, December 04, 2002 11:22 PM
> Subject: Re: problem using html:form in different struts-modules
>
>
> > Hi Jan,
> >
> > Try :
> >
> > html:form action="/account/Login.do" ....
> >
> > Regards,
> >
> > Michael :-)
> >
> > ----- Original Message -----
> > From: <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, December 04, 2002 11:14 PM
> > Subject: problem using html:form in different struts-modules
> >
> >
> > Hi,
> >
> > i want to use seperate modules in my application (i.e. general, account,
> > registration ... ).
> >
> > At the bottom of my website is a login panel ( username and password
> > field ).
> >
> > I used the html:form jsp-tag to render the login panel, but i seems like
> the
> > html:form tag cannot lookup action mappings from different modules.
> >
> > example:
> >
> > default config contains:
> >
> > action path="/ShowHome.do"
> > action path="/ShowFaq.do"
> >
> > config/account contains:
> >
> > action path="/Login.do"
> > action path="/ShowAccount.do"
> >
> > the html:form tag at the bottom of my website is defined as
> >
> > html:form action="/Login.do"
> >
> > when i call http://domain/account/ShowAccount.do in my browser the
> > login-panel is rendered well, but calling http://domain/ShowHome.do
> results
> > in an error:
> >
> > [ServletException in:/jsp/tiles/general/footer.jsp] Cannot retrieve
> mapping
> > for action /Login'
> >
> > First i thought i have to add the modules name as prefix to the action
> like
> >
> > html:form action="/account/Login.do"
> >
> > but these neither renders the html:form tag in "default-config" nor in
> > "account-config" actions.
> >
> > Has anyone experienced the same problem ?
> >
> > It would be great if someone could help me.
> >
> > Jan Zimmek
> >
> >
> >
> > --
> > To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> >
> >
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to