Here it is...
<HTML>
<HEAD>
<TITLE>PB Demo</TITLE>
</HEAD>
<BODY>
Before you begin exploring the PB Demo web site, please register.
<!-- Form tag goes here -->
<FORM METHOD=POST ACTION="/servlet/LoginServlet">
<pre>
<b>Name: <input type="text" name="name" size=27>
E-Mail: <input type="text" name="email" size=35>
Company: <input type="text" name="company" size=20>
</b>
</pre>
<center>
<p><br>
<input type="submit" value="Submit">
<input type="reset" value="Reset">
</center>
</form>
<P>
</BODY>
</HTML>
/Lars
-----Ursprungligt meddelande-----
Fran: srinivas [SMTP:[EMAIL PROTECTED]]
Skickat: den 26 augusti 1999 01:38
Till: [EMAIL PROTECTED]
Amne: RE: doPost
just send us the html file thro which ur calling us, there mightbe some
error in that html file. i feel everything is perfect as far as
servlets is considered.
> -----Original Message-----
> From: Lars Wiklund [SMTP:[EMAIL PROTECTED]]
> Sent: jeudi 26 aout 1999 22:32
> To: [EMAIL PROTECTED]
> Subject: doPost
>
> I?m trying to pass some parameters to my servlets doPost method and
> gets this error message:
>
> 400 Bad Request
>
> POST is not supported by this URL
>
> I?m using IBM HTTP server 1.3.3 and I`m just trying to print out
> something on the screen with my doPost.
>
> public void doPost(HttpServletRequest request, HttpServletResponse
> response)
> throws IOException, ServletException
> {
> Enumeration e = request.getParameterNames();
> PrintWriter out = response.getWriter ();
> while (e.hasMoreElements()) {
> String name = (String)e.nextElement();
> String value = request.getParameter(name);
> //Deprecated
> out.println(name + " = " + value);
> }
> }
>
> Best Regards
> Lars Wiklund
>
> ______________________________________________________________________
> _____
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the
> body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources:
> http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
<<Fil: ATT00022.htm>>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html