my dog learned polymorphism
The moose likes Tomcat and the fly likes Configuring Tomcat Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "Configuring Tomcat" Watch "Configuring Tomcat" New topic
Author

Configuring Tomcat

Jim Andrews
Greenhorn

Joined: Aug 23, 2011
Posts: 2
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

Joined: Apr 12, 2011
Posts: 189

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Configuring Tomcat
 
Similar Threads
Remote debugging in JBuilder (Tomcat)
Security over socket connection
Strange exception when trying to make remote method call...
Order of parameters with Tomcat
HTTPS - SSL