Servlets + Javascript
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Ashish_Malgi
Posted On:   Friday, February 22, 2002 08:55 PM

I want to invoke the servlet from Javascript . Is it possible to do that ?

My problem is to encrypt the password with some key .. & then invoke the servlet where the password will be decrypted and checked for validation? What is the possible way to do it ?

Re: Servlets + Javascript

Posted By:   Ashish_Malgi  
Posted On:   Wednesday, February 27, 2002 03:28 AM

Its possible using "location" variable
Try following code: in Javascript

function Hi() {
alert("Here");
location="http://localhost:8080/servlet/HelloServlet";
}
About | Sitemap | Contact