[jcifs] HTTP status 405 - HTTP method GET is not supported by this URL

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Mon Dec 2 14:15:55 EST 2002


You know that class is for pre-2.3 servlet containers. Can you use the NtlmHttpFilter? Also have you seen:

http://jcifs.samba.org/src/docs/ntlmhttpauth.html

Otherwise I'm afraid I'm not particularly adept at the servlets stuff. Maybe someone else will chime in.

> -----Original Message-----
> From:	Tieu, Kiet L [SMTP:KietLinh.Tieu at team.telstra.com]
> Sent:	Sunday, December 01, 2002 9:12 PM
> To:	jcifs at lists.samba.org
> Subject:	[jcifs] HTTP status 405 - HTTP method GET is not supported by this URL
> 
> Hi,
> 
> I have inherited MyNtlmServlet class to NtlmServlet, and overrides the "service" method on it. On the other hand, I have set    
>     <servlet>
>         <servlet-name>NTLMServlet</servlet-name>
>         <servlet-class>jcifs.http.MyNtlmServlet</servlet-class>
> 
>         <init-param>
>             <param-name>jcifs.http.domainController</param-name>
>             <param-value>MY_DOMAIN</param-value>
>         </init-param>
>         </servlet>
> 
>     <servlet-mapping>
>         <servlet-name>NTLMServlet</servlet-name>
>         <url-pattern>/*</url-pattern>
>     </servlet-mapping>
> 
> When my html page is called, the MyNtlmServlet is called and Windows login box is popuped. After I have entered the id and password, a message "HTTP status 405 - HTTP method GET is not supported by
> this URL" is displayed on the browser. This error message is caused by the super.service(request, response).
> 
> Do anyone has met this issue before, and how to solve it.
> 
> Thanks
> Lyn
> 
> 




More information about the jcifs mailing list