Hi all:
I 've just installed SDK1.2.2 and JSWDK1.0.1 and just learn the servlets and jsp.
I want to install and run my Servlets file. according to JSP FAQ item:
How do I install Servlets within my web application?
3. Activate the newly installed Servlet by registering (adding) the servlet in the
WEBAPP/WER-INF/servlets.properties file. SEE the Examples/WEB-INF/servlets file for
an example.
I checked the servlets.properties file, but I still don't know how to do it. Any one
can help me about that?
If I add test1.java and test1.class files
to WEBAPP/WEB-INF/servlets directory. How I add the servlet in the *.properties?
The *.properties file is like that
**************************************************************
# $Id: servlets.properties,v 1.3.2.2 1999/07/27 00:52:13 mandar Exp $
# Define servlets here
# <servletname>.code=<servletclass>
# <servletname>.initparams=<name=value>,<name=value>
# <test>.code=<test>
# <test>.initparams=<name=value>,<name=value>
#snoop.code=SnoopServlet
#snoop.initparams=initarg1=foo,initarg2=bar
cookie.code=CookieExample
cookie.initparams=foo
jsp.code=com.sun.jsp.runtime.JspServlet
jsp.initparams=keepgenerated=true
jts.code=servletToJsp
jts.initparams=foo
*****************************************************************
Your assistance will be very much appreciated.
Xunming
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets