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
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
2 matches
Mail list logo