Abhishek sharan wrote:
> Hi Tara !
>
> Tara Marjoram wrote:
>
> > Hi all,
> >
> > A really easy question for you? I can't seem to get values out of a html
> > form using my servlet. This is for example Name and password values.
> > The following code:
> >
> > In the doGet method:
> > out.print("<HTML><HEAD><TITLE>Login</TITLE>");
> > out.print("</HEAD><BODY><FORM
> > METHOD=\"POST\">");
> >
>
> you have not specified the action attribute of form
> put say action="/servlet/myservlet"
This is not the reason. If you don't specify the action attribute, then the
document URL is used.
I think this is exactly what Tara intended.
-henning
begin:vcard
n:Brune;Henning
tel;fax:+49 (0)5 21/1 06-64 40
tel;work:+49 (0)5 21/1 06-29 48
x-mozilla-html:FALSE
org:Universitaet Bielefeld;Technische Fakultaet, AG TI
adr:;;Postfach 100131;Bielefeld;NRW;33501;Germany
version:2.1
email;internet:[EMAIL PROTECTED]
title:Dipl.-Inform.
fn:Henning Brune
end:vcard