Hi,

I like do the flowing :

CLIENT ------> ServletA ---> ServletB ( wich means CLIENT -->
ServletA(param ServletX))
CLIENT ------> ServletA ---> ServletC
CLIENT ------> ServletA ---> ServletD

ServletA : does a several checks (login, acl, ...) that I don't want to
duplicate (code) in B,C,D


How can I forbid invoke servlet directly ?

CLIENT --------------------> ServletB


and restrict invoking only by ServletA(ServletB)


How can I do it, or is it possible, or is there a better idea to do
similar ?


Thanks in adavance.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to