Re: Redirect & RedirectAction forwarding to localhost:8080 if no protocol mentioned in namespace

2011-01-20 Thread Harsh Grover
> wrote: > Hard url? I didn't suggest you to hard code url inside namespace. You > should use namespace defined in your package declaration. > namespace="/YOUR_NAMESPACE"> > > home.jsp > > loadLogin > YOUR_NAMESPACE > true > true > >

Re: Redirect & RedirectAction forwarding to localhost:8080 if no protocol mentioned in namespace

2011-01-20 Thread Harsh Grover
ruts.apache.org/2.0.14/struts2-core/apidocs/org/apache/struts2/dispatcher/ServletRedirectResult.html#prependServletContext > > > > thank > > > > 2011/1/20 Harsh Grover > > > >> small correction, the request goes to > >> http://localhost:8080/test/actions/loadLog

Re: Redirect & RedirectAction forwarding to localhost:8080 if no protocol mentioned in namespace

2011-01-19 Thread Harsh Grover
small correction, the request goes to http://localhost:8080/test/actions/loadLogin.<http://localhost:8080/test/actions/loadLogin.jsp> action. On Wed, Jan 19, 2011 at 7:33 PM, Harsh Grover wrote: > here it is. > > > home.jsp > > loadLogin > true > true > &

Re: Redirect & RedirectAction forwarding to localhost:8080 if no protocol mentioned in namespace

2011-01-19 Thread Harsh Grover
st/actions/loadLogin.jsp, and bypassing the apache instance in front of it completely, even if the request comes from http://abc.com/test/actions/userLogin.action. Thanks On Wed, Jan 19, 2011 at 1:49 AM, Mohamed SIDI wrote: > can you put out your configuration in struts.xml? > > > &g

Redirect & RedirectAction forwarding to localhost:8080 if no protocol mentioned in namespace

2011-01-18 Thread Harsh Grover
I'm using redirectAction to send the user to another action using redirectAction. However, if the namespace is not provided, the request is getting forwarded to localhost:8080 (my server instance). I'm using apache in front of my app server, and this is breaking my flow. Is there any configuration