Several reasons:
 - We had experience with customers with complex/crappy proxy configuration 
where redirect could fail.

 - my boss wants to avoid using HTTP redirect (because of reason above?)

 - In addition, I wouldn't mind avoid showing "index.jsp" in the user address 
bar if I could.

 - I'm curious :)

-----Message d'origine-----
De : Michael Jouravlev [mailto:[EMAIL PROTECTED] 
Envoyé : mercredi 14 décembre 2005 19:11
À : Struts Users Mailing List
Objet : Re: forward www.myserver.net to an action

On 12/14/05, Lesaint Sébastien <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a Struts (1.2.4) webApp running on my server www.myserver.net. The 
> servlet mapping is "*.do". I want the user to be forward to the action 
> "index.do" when she requests "www.myserver.net".
>
> At the moment, I'm using a JSP "index.jsp" in the root directory of my webApp 
> with a <logic:forward> tag that forward to the "index" action (quite a common 
> practice I think).
>
> This works fine but relies much on HTTP redirect (to www.myserver.net/ and 
> then to www.myserver.net/index.jsp) and I would like to avoid that.

Why? This is a standard approach.

Michael.

---------------------------------------------------------------------
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