Subject: | |
From: | |
Reply To: | |
Date: | Tue, 21 Aug 2001 14:30:55 -0400 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Ken Acker asks:
>There doesn't seem to be anything in the error_log file that relates to the
>problem I'm having. Is there a file in Tomcat that I have to put my servlet
>info into? I checked "web.xml" and "server.xml", but they don't contain any
>of the example servlet info...
In the server.xml file in the JAKARTA_HOME/conf directory, you want to add
your servlets in the ContextManager element.
<?xml version="1.0" encoding="ISO-8859-1"?>
<Server>
...
<!- an example with no parameters ->
<Context path="/test" docBase="webapps/test" debug="0"
reloadable="true" >
</Context>
<!- example with two parameters ->
<Context path="/AJP" docBase="webapps/AJP" debug="9"
reloadable="true" >
<Parameter name="host" value="192.168.1.7"/>
<Parameter name="port" value="31000"/>
</Context>
</ContextManager>
</Server>
HTH,
Mark Wonsil
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|