struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Husted <>
Subject Re: [BRANCH] RE: Going to other context and/or server in 1.1
Date Fri, 18 Oct 2002 20:56:08 GMT
This behavior is consistent with Struts 1.0. It always prepended the application context, and
now it always 
prepends the application/context. 

Since actions are not physical files, and we spend a lot of time forwading from here to there,
trying to use 
relative references is not really recommended. 


10/18/2002 4:44:01 PM, "Taylor, Jason" <> wrote:

While this discussion is going on regarding 'relativity', I'd like to note
that bug #12600 reports a problem with the form tag that seems related:

Basically <form action=""> always prepends the module context,
making it impossible to specify a true relative link (like "" rather
than "/app/" or "/app/module/") which is sometimes
desirable.  Is it a bug or feature? 

I'm forced by my architecture to always specify relative links back to the
browser, so I can't use the form tag as is.  The bug description discusses
the type of situation where this may arise...

Any thoughts?


-----Original Message-----
From: Eddie Bush []
Sent: Friday, October 18, 2002 1:12 PM
To: Struts Developers List
Subject: Re: Going to other context and/or server in 1.1

Or - ...

contextRelative is new to 1.1 (obviously).  What if we replaced it with
relativeTo.  relativeTo could take on the values:

Then we're not just growing warts on the side for effect.

Craig R. McClanahan wrote:

>Failure case:
>Maybe we need an "absolute" attribute on ForwardConfig (and therefore

Eddie Bush

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message