[NEWBIE] How to write a serlvet filter to ...
Daniel Joshua <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Message-ID | <[email protected]> |
Hi all, How do I write a serlvet filter to block a certain pages depending on the port or the connection? Scenario: I have set tomcat to use two ports for http connections (eg. 8080 and 8008). With the use of a firewall, one port is accessible via web and the other only by LAN. Thus I would like to "block" access to certain pages and return 404s... :P Regards, Daniel ___________________________________________________________________________ To unsubscribe, send email to [email protected] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html