RE: Struts2 RedirectAction Situation

2012-07-13 Thread Martin Gainty
Necesita cambiar a Header con el nombre 'Location' a nuevo URL URL page = new URL(hostUrl); HttpURLConnection.setFollowRedirects(true); HttpURLConnection urlc = (HttpURLConnection) page.openConnection(); String token = urlc.getHeaderField("Location"); Martin Gainty

Re: Struts2 RedirectAction Situation

2012-07-13 Thread Joseph Mocker
Hi HernĂ¡n, I encountered the same problem as what you are describing. I just figured out the cause for me, which appears to be a String bean I have instantiated in my Spring applicationContext.xml >From trudging around debug logs it appears Spring is autowiring this by-type >as