You need to make sure that you have both doGet and doPost included.  If your
code is all in doGet then just write doPost like below.  It calls doGet.  I
had this same problem the first time I tried to POST.

   public void doPost(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException
   {
      doGet(request,response);
   }

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 14, 2001 4:40 PM
To: [EMAIL PROTECTED]
Subject: Post method not supported....


Hi, I have an unusual problem. I have a feeling that it has to do with
either
server.xml or web.xml configuration. I wrote a servlet that initializes both
'doGet' and 'doPost' method. The main page is called by the doGet method
that
prints out the HTML tags which has a <Form Method=Post> tag in it. When I
press submit I get this message:

2001-03-14 07:34:06 - Ctx( /Root ): 400 R( /Root +
/BulletinBoard/BulletinBoard
+ null) HTTP method POST is not supported by this URL

It appears that the server is saying that it can't handle the <Form
Method=Post>
Post method.  Why is it doing this????? Anyone knows???????

Reply via email to