AW: [opencms-dev] installing opencms: zone.properties file
D. Veniseleas
venisele at uni-duesseldorf.de
Tue Jan 2 09:37:37 CET 2001
-----Ursprungliche Nachricht-----
Von: Schlee Stefan [SMTP:ssch at ticon.at]
Gesendet am: Freitag, 29. Dezember 2000 19:08
An: 'opencms-dev at opencms.com'
Betreff: [opencms-dev] installing opencms: zone.properties file
Hello,
I am about to setup the latest available opencms software. In Step 7 of the
"install.txt"
it says:
"add the lines:
servlet.opencms.code=com.opencms.OpenCmsServlet
to the Servlet Aliases section and ..."
What is the "Servlet Aliases section" (and Servlet Init Parameters section)
in the zone.properties file.
Is it just a comment or an empty property?
Thanks for your help
Stefan
[]
Hi Stefan,
in my zone.properties file it's like this:
.......................
........................
# Servlet Aliases
##################
# This defines aliases from which servlets can be invoked.
# Each alias give a new instance of the servlet. This means that if a servlet
# is invoked both by class name and by alias name, it will result in _TWO_
# instances of the servlet being created.
# Syntax: servlet.[alias].code=[classname] (String)
# Default: NONE
# servlet.snoop.code=SnoopServlet
# servlet.hello.code=org.fool.Dummy
servlet.opencms.code=com.opencms.core.OpenCmsServlet
# Global Init Parameters
#########################
# Parameters passed here are given to each of servlets. You should put
# configuration information that is common to all servlets.
#
# The value of the property is a comma delimited list of "name=value" pairs
# that are accessible to the servlet via the method getInitParameter()
# in ServletConfig.
# Syntax: servlets.default.initArgs=[name]=[value],[name]=[value],...
# Default: NONE
# servlets.default.initArgs=common.to.everybody=Hi everybody!
# Servlet Init Parameters
##########################
# These properties define init parameters for each servlet that is invoked
# by its classname.
# Syntax: servlet.[classname].initArgs=[name]=[value],[name]=[value],...
# Default: NONE
# servlet.org.fool.Dummy.initArgs=message=I'm a dummy servlet
servlet.opencms.initArgs=properties=C:\Programme\Apache Group\Apache JServ\servlets\opencms.properties
# Aliased Servlet Init Parameters
##################################
# These properties define init parameters for each servlet that is invoked
# by its alias.
# Syntax: servlet.[alias].initArgs=[name]=[value],[name]=[value],...
# Default: NONE
# servlet.snoop.initArgs=message=I'm a snoop servlet
# servlet.hello.initArgs=message=I say hello world to everyone
.......................................
........................
Ciao,
Dimitris
More information about the opencms-dev
mailing list