Depends a bit on which action you want to execute
if that happens.

This might be a start: (Havn't tried it)

web.xml:

<security-constraint>
  <web-resource-collection>
    <web-resource-name>Entire Application</web-resource-name>
    <url-pattern>/*</url-pattern>
    <http-method>GET</http-method>
  </web-resource-collection>
  <auth-contraint>
    <role-name><role-name>
  </auth-contraint>
</security-constraint>

Ralph Einfeldt
Uptime Internet Solution Center GmbH
Hamburg, Germany
Hosting, Content Management, Java Consulting
http://www.uptime-isc.de 

> -----Ursprüngliche Nachricht-----
> Von: Meder Bakirov [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 1. August 2002 10:12
> An: Tomcat Users List
> Betreff: Denying GET request for a JSP page howto!
> 
> 
> Hi all!
> 
> I want to deny any GET requests to my JSP pages, only POST, 
> where can I strict 
> this?
> 
> Thanks...
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 

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

Reply via email to