Hi Halil, maybe you disabled GET requests for your JSP. Have a look at this
tomcat3 examples application's web.xml:


     <security-constraint>
      <web-resource-collection>
         <web-resource-name>Protected Area</web-resource-name>

           <!-- Define the context-relative URL(s) to be protected -->
         <url-pattern>/jsp/security/protected/*</url-pattern>

           <!-- If you list http methods, only those methods are protected
-->
           <http-method>DELETE</http-method>
         <http-method>GET</http-method>
         <http-method>POST</http-method>
           <http-method>PUT</http-method>
      </web-resource-collection>
      <auth-constraint>
         <!-- Anyone with one of the listed roles may access this area -->
         <role-name>tomcat</role-name>
           <role-name>role1</role-name>
      </auth-constraint>
    </security-constraint>



Regards
Alessio
[EMAIL PROTECTED]

-----Messaggio originale-----
Da: Halil AKINCI [mailto:[EMAIL PROTECTED]]
Inviato: luned́ 24 giugno 2002 16.39
A: Tomcat Users List
Oggetto: Re: HTTP 405 error


Yes, this this error message is displayed  on the tomcat console;

2002-06-24 17:23:34 -Ctx ( /VT ): Status code: 405 request: R ( /VT +
/jsp/query.jsp + null ) msg: HTTP GET is not supported by this URL

----- Original Message -----
From: "Anoop Kumar V" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, June 24, 2002 5:35 PM
Subject: RE: HTTP 405 error


> do u get any errors on the console window of tomcat??
>
> Anoop Kumar V.
>
> -----Original Message-----
> From: Halil AKINCI [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 24, 2002 7:57 PM
> To: Tomcat Users List; JSP groups
> Subject: HTTP 405 error
>
>
> please help me,
>
> I can't run my JSP files. I can run my servlet using jakarta-tomcat-3.3.1,
> but I want to run my jsp files and when I want to run my jsp files I
receive
> HTTP 405 error message.
>
> what can I do?
>



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



- Disclaimer -
This email and any attachments thereto may contain information which is
confidential and/or protected by intellectual property rights and are
intended for the sole use of the recipient(s) named above. Any use of the
information contained herein (including, but not limited to, total or
partial reproduction, communication or distribution in any form) or the
taking of any action in reliance on the contents, by persons other than the
designated recipient(s) is strictly prohibited.

If you have received this email in error, please notify the sender either by
telephone or by email and delete the material from any computer.

Thank you for your cooperation. 



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

Reply via email to