tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <ralph.einfe...@uptime-isc.de>
Subject AW: Denying GET request for a JSP page howto!
Date Thu, 01 Aug 2002 09:12:56 GMT
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:bakirov@transfer.kg]
> 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:tomcat-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: 
> <mailto:tomcat-user-help@jakarta.apache.org>
> 
> 
> 

--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message