struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Brown <adrianjonbr...@yahoo.com.au>
Subject Re: Problem with Proxy Pass
Date Wed, 21 Aug 2002 02:51:47 GMT
Hi Billy,

This might not be optimal for you, but try altering
the org.apache.struts.taglib.html.BaseTag to generate
the altered server name, this is one way to get it to
work. You might want to control it using a properties
lookup of some sort. If you want more details, let me
know.

Adrian

 --- Billy Ng <evebill8@hotmail.com> wrote: > Hi
folks,
> 
> I use the proxy pass in Apache to translate the url
> from
> 
> http://www.myDomian.com:8080/myApp to
> http://www.myDomian.com
> 
> In the <html:form> tag, it looks like,
> 
> <html:form action="/logon.do" method="POST" ...>
> 
> However,  you will notice Struts will add the app
> name in the action path if 
> you view the html
> 
> <form action="/myApp/logon.do" method="POST" ...>
> 
> This will break the url.  Would anybody please me
> how can tell Struts not to 
> add the app name?
> 
> Thanks!
> 
> Billy Ng
> 
>
_________________________________________________________________
> Send and receive Hotmail on your mobile device:
> http://mobile.msn.com
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
>  

http://digital.yahoo.com.au - Yahoo! Digital How To
- Get the best out of your PC!

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


Mime
View raw message