struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <jbarr...@sssc.com>
Subject RE: Form action relative path
Date Tue, 13 Jul 2004 22:08:40 GMT


> -----Original Message-----
> From: toto2004b2000 [mailto:toto.toto2004b@laposte.net]
> Sent: Monday, July 12, 2004 7:08 AM
> To: struts-user@jakarta.apache.org
> Subject: Re: Form action relative path
> 
> 
> I've tried everything like this but it doesn't work...

If you're trying to get outside the application scope, there are issues, you might want try
using
the full URL, and not use <html:form at all, since that will always re-write the action
you give it.

> 
> --- In struts@yahoogroups.com, "atta-ur rehman" <attar@n...> wrote:
> > How about:
> > 
> > <html:form action="login.do">
> > 
> > ATTA
> > 
> > ----- Original Message ----- 
> > From: "toto2004b2000" <toto.toto2004b@l...>
> > To: <struts-user@j...>
> > Sent: Wednesday, July 07, 2004 1:34 AM
> > Subject: Form action relative path
> > 
> > 
> > > Hello,
> > > 
> > > My application is "toto" and with this struts tag
> > > <html:form action="/login.do">
> > > the generated HTML code is
> > > <form action="/toto/login.do">
> > > 
> > > I need to use relative path (without application context), like
> > > <form action="login.do">
> > > 
> > > Is it possible ? Any help would be appreciate.
> > > 
> > > Kind of regards
> > > 
> > > 
> > > 
> > > ------------------------------------------------------------------
> ---
> > > To unsubscribe, e-mail: user-unsubscribe@s...
> > > For additional commands, e-mail: user-help@s...
> > > 
> > > 
> > 
> > 
> > --------------------------------------------------------------------
> -
> > To unsubscribe, e-mail: user-unsubscribe@s...
> > For additional commands, e-mail: user-help@s...
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message