> From: Martin Gainty [mailto:mgai...@hotmail.com]
> Subject: RE: Enabling HTTP Put
> 
> since doPut disallows request processing if readOnly is true as seen
> here
> 
>     protected void doPut(HttpServletRequest req, HttpServletResponseresp)
>         throws ServletException, IOException {
> 
>         if (readOnly) {
>             resp.sendError(HttpServletResponse.SC_FORBIDDEN);
>             return;
>         }
> 
> you will need to implement setting readOnly to 'false'  (as specified
> in Servlet's init-params of web.xml)
> 
>  <servlet>
>       <servlet-name>Comminterface2Servlet</servlet-name>
>       <servlet-
> class>gov.fmcsa.wribosservice.client.CommInterface2Servlet</servlet-class>
>       <init-param>
>           <param-name>readonly</param-name>
>           <param-value>false</param-value>
>        </init-param>
>  </servlet>
> 
> setting at command line as you had suggested would affect ALL servlets
> (which load from that JVM)

Absolutely none of the above is accurate or has any bearing on the OP's 
somewhat misguided question, which André already answered correctly.

I think you forgot this is 2 April - no longer April Fool's day...

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to