Howdy,
Hey I just stumbled on this post which may help:
http://dotnetguy.techieswithcats.com/archives/003089.shtml

By the way, how do you simulate a PUT request for testing?

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Jürgen Schwarz [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, September 24, 2003 1:32 AM
>To: 'Tomcat Users List'
>Subject: AW: How to configure Tomcat to acceppt PUT requests for servlets?
>
>Yes, sorry, I meant PUT, but I have already a doPut() method in my
>servlet but it is never called because my calling client receives an
>error 405 from Tomcat 4.1.27 when setting the requestMethod to "PUT".
>I use the 'standard' Tomcat server.xml configuration plus entries for my
>servlet but I have not configured any security constraints for my
>servlet.
>
>I have no idea what could be wrong...
>
>
>
>> -----Ursprüngliche Nachricht-----
>> Von: Shapira, Yoav [mailto:[EMAIL PROTECTED]
>> Gesendet: Dienstag, 23. September 2003 15:56
>> An: Tomcat Users List
>> Betreff: RE: How to configure Tomcat to acceppt PUT requests
>> for servlets?
>>
>>
>>
>> Howdy,
>> Assuming you meant PUT in the message just like in your
>> subject: simply add a doPut method to your servlet.  Tomcat
>> won't reject this unless you have a security constraint only
>> allowing certain methods and rejecting PUT.
>>
>> Yoav Shapira
>> Millennium ChemInformatics
>>
>>
>> >-----Original Message-----
>> >From: Jürgen Schwarz [mailto:[EMAIL PROTECTED]
>> >Sent: Tuesday, September 23, 2003 10:52 AM
>> >To: [EMAIL PROTECTED]
>> >Subject: How to configure Tomcat to acceppt PUT requests for
>> servlets?
>> >
>> >Hi,
>> >
>> >how do I configure Tomcat 4.x to accept POST requests for my
>> servlet? I
>> >always receive HTTP error 405 "Method not allowed". POST
>> works without
>> >problems.
>> >
>> >Regards,
>> >    Juergen
>> >
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>>
>>
>> This e-mail, including any attachments, is a confidential
>> business communication, and may contain information that is
>> confidential, proprietary and/or privileged.  This e-mail is
>> intended only for the individual(s) to whom it is addressed,
>> and may not be saved, copied, printed, disclosed or used by
>> anyone else.  If you are not the(an) intended recipient,
>> please immediately delete this e-mail from your computer
>> system and notify the sender.  Thank you.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]




This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to