Hello friends, First of all a very happy New Year to all of you.Hope this New Year brings lots of joy and prosperity to everyone's life. Now the question: How do I call a servlet from my Java application? I have developed a swing application whic is asking for the username and password.Inorder to verify the username and password I want to call the servlet,once he clicks on the login button and then he is redirected to a particular URL.Please reply soon as it is preety urgent. Regards, Kavita.
hi, Happy New Year.... coming to u r doubt i think u can use URL class for invoking a servlet.please be clear about u r redirection part..so that i can help u. Regards preethi.
Kavita Ghia
Ranch Hand
Joined: Oct 10, 2000
Posts: 91
posted
0
Hi Preethi, what I mean about redirection is the authenticated user will be sent to a particular html page.Hope this clarifies the question. Thanks.