Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Configuring Tomcat

 
Jim Andrews
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello.

Is there a way to configure Tomcat in a way that it doesn't accept POST and GET requests from other domains? (it will only accept from my domain).
If so, how can I do it?

Thanks in advance!
 
Guy deLyonesse
Ranch Hand
Posts: 200
Eclipse IDE Java Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
As far as I know, there is no way, since the handling of the request is all done by the servlet. You could certainly override the servlet handling the request to get that functionality...
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic