You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Omer <so...@emirates.net.ae> on 2001/06/10 22:49:20 UTC
Using Servlet context
Hi,
I wish to use servlet context, though I'm facing some problems.
In the example that I'm following to learn contextx, the following changes are to be made to a different web-server and it says that I need to adapt the instructions given here to my server if its different (they use LiteWebServer LWS).
context.chatapp.uriroot=/chat
context.chatapp.confdir=c:/lws/config/chatapp
I assume that I'll have to change the docBase and path variables, though I'll be glad if someone could confirm.
Next, I have to make the following changes in the servlet's config. dir.
servlet.chatAdmin.code=com.wrox.pssjp.context.chat.ChatAdminServlet
servlet.chatAdmin.initArgs=chatprops=c:/lws/config/chatapp/chat.propertoes
and have to define the names and init parameters for other classes similarly.
Waiting for a response,
Omer.