By using forms (also specifiying some variable_name for each form component) in HTML page, sending them with GET or POST method you can send information to servlet. On the server side you implement the corresponding doGet(Request, Response) or doPost(Request, Response) method. You can extract the value of a specific HTML form variable by <some_string_value = Request.getParameter("any_form_var_name");>. See example servlets implementing doGet/doPost methods.
-----Original Message-----
From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 19, 2002 10:15 AM
To: [EMAIL PROTECTED]
Subject: How can run my servlet using HTML page?

Thanks...
 
I want to ask another question. How can run my servlet using HTML page? I want use a HTML page to send a parameter to my servlet, and servlet will receive this parameter, connect a MS access database, execute a query and send results.
 
 

Reply via email to