You could implement a simple locking mechanism.  When you are about to
access one of your classes, set a session or request scoped bean or session
variable, and then in your servlets, check for that object, and then remove
it.

-----Original Message-----
From: John de la Garza [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, December 06, 2000 05:04 PM
To: Tomcat-Users (E-mail)
Subject: posting to servlets from a url


Is there some way I can make my server not allow users to type in URL's
directly to servlets in the WEB-INF/classes directory?

I only want these servlets to be accessed by my own jsp pages on my server.


Reply via email to