Hello ruben,
or u can even send all the fields in a html file by
using the form field and action=post.
i.e in the html file u have
<form name="xxxx" action="post">
---
--- some html code and some fields.
---
--->you have a submit button here.
<type="Submit" value="Submit" name="aaa">
<form>
In the above code the servlet gets all the fields that are there with in the
form tag and can be retrieved by the request.getParameter().
(the above si handy when u want to send the whole of the fields as
parameters.If u want to send the custom parameters then the previous
mentioned method is better.
"The intellect has little to do on the road to discovery. There comes a leap
in consciousness, call it Intuition or what you will, the solution comes to
you and you don't know how or why".
--Albert Einstein
With best regards,
M.S.Krishna (RBIN/DBA-JOT)
> Phone*: +91-80-508-1416
Fax : +91-80 571-1865
E-mail : [EMAIL PROTECTED]
Robert Bosch India Limited,
123,Industrial Layout,
Koramangala,
Bangalore-95.
> -----Original Message-----
> From: Ruben Domene [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 5:05 AM
> To: tomcat
> Subject: How a html file pass arguments to a servlet??
>
> Hi.
> I need know how from a html file i can send arguments to servlet.
> Thank you for your helps.
RE: How a html file pass arguments to a servlet??
Suresh Krishna M (RBIN/DBA-JOT) Thu, 30 Aug 2001 01:30:36 -0700
- How a html file pass arguments to a servle... Ruben Domene
- urgent : using Mail Resource in web.x... Christoph Rooms
- RE: How a html file pass arguments to... Suresh Krishna M (RBIN/DBA-JOT)
- RE: How a html file pass arguments to... Cato, Christopher
- Suresh Krishna M (RBIN/DBA-JOT)
