If you want to hide the directory name, you could set up an alias with <servlet-name> and/or <url-pattern> in the web.xml file.
-----Original Message----- From: Iv�n Escobedo [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 02, 2002 4:49 PM To: [EMAIL PROTECTED] Subject: Hiding /servlet/ directory form the user Folks, i have one question, how can i prevent, thru apache or tomcat, the access to a servlet, i mean, i wrote directly http://www.domain.com/servlet/SomeServlet i don't need a login form to execute the servlet, i just need that the only access to the servlet be thru a html form How can i hide it from the user? Thanks _________________________________________________________________ �nase con MSN Hotmail al servicio de correo electr�nico m�s grande del mundo. http://www.hotmail.com ___________________________________________________________________________ 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 ___________________________________________________________________________ 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
