You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Xiaofeng Chen <xc...@unlnotes01.unl.edu> on 2001/04/25 18:14:09 UTC

how to set restrict access to servlet?

Hi, all: I have some servlets running in tomcat. I would like to set
restrict access
to these servlets so that the servlets can get the username through
request.getRemoteUser().
Do I do any configuration in server.xml or web.xml? Do I need a .htaccess
file in the servlet
and jsp directory? Thanks for any help!