I see, that it's connecting to the client with no Exception (If I give the wrong password I have a Incorrect password error message), but it returns me the first (logon) jsp page with message "You are not yet logged on or your session has expired".
This could happen because the WebClient servlet is not able to establish an HttpSession with your Java code that is using the HttpURLConnection class. During a 'normal' browser-servlet communication the HttpSession session id is stored on the client as a cookie.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum