|
You can find out they type of request made using request.getMethod(), but as you pointed out in our IM conversation, you can use both POST and GET in the same request. Upon testing, the GET variables take priority over the POST variables.
Your container (be it Tomcat, Websphere, etc) can usually prevent requests of a given type against a given namespace. But you can't do it in a webapp.
|