Hi, All Now I use Tomcat, and the database is DB2, I use db2java.zip, but I cann't use it as class, I have copy this file into lib folder, who can help me? best regards
----- Original Message ----- From: "Luca Ventura" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, October 17, 2002 3:08 PM Subject: How can I protect my servlet with a login and a password? > Hello everybody! > > I have Apache Tomcat 4.0 as Servlet Engine and I would like to to the > following > thing: when a user tries to connect to my servlet "MyServlet" a window > should appear that ask him to insert a login and a password > before accessing to the servlet. How can I do this? > > Must I change some configuration file in Tomcat? Can I use > the same solution to protect other web resources (for example > the "files" to download)? > > Thanks a lot in advance! > > Luca > > ___________________________________________________________________________ > 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