Hi All, please help me i am getting server redirect too many times(20) when i give wrong password. i am using client program to connect to servlet and then servlet to invoke bean.
our archicture is swing client sends xml request to servlet and servlet invokes beans. the client sends request to servlet as URLConnection and gets reply by URLConnection.getInputStream(). i am using JAAS login module with J2EE security. please help me as i am facing this problem since long time.
The exception i am getting is as follows
java.net.ProtocolException: Server redirected too many times (20) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:581)