Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Consume a web service with form authentication from a jsp
Hi to everybody,
I am trying to consume a web service from a web application that requires form authentication. It seems that if I create a client, I have tried with jersey or ApacheHttpClient, it somehow creates a new instance of the browser session. After that the web app send me again the login page . This seems weird to me. Is it possible to pass the session data to the client or get the current session? The only solution that I have now is making the calls trough Ajax which leads to build most of the web applicacion again!
0 · ·