Not sure if u have a chat.properties file.Mine looks like this -
JAVA.description=The hottest language now !
XML.description=The technology of the future ?
In the initial-parameter of the servlet ChatAdminServlet i have given the
full path to chat.properties like this :
<init-param>
<param-name>
chatprops
</param-name>
<param-value>
c:/jakarta-tomcat/webapps/chat/chat.properties
</param-value>
</init-param>
Hope this helps!
(Embedded
image moved "A mailing list for discussion about Sun
to file: Microsystem's Java Servlet API Technology."
pic23711.pcx) <[EMAIL PROTECTED]>
05/19/2000 11:32 AM
Please respond to "A mailing list for discussion about Sun Microsystem's
Java Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: Re: Urgent Help Required
I managed to find out how it works with ServletExec only it is giving me an
error in chat.props, it is not able to find the chat.properties file and I
don't know how to write it.
The error is :
Error. The server encountered an unexpected condition which prevented it
from
fulfilling the request.
javax.servlet.UnavailableException: Can't read the chatprops
filechat.properties
at chatadminservlet.init(chatadminservlet.java:27)
at javax.servlet.GenericServlet.init(GenericServlet.java:266)
at
newatlanta.servletexec.HostServletContext.CreateServlet(HostServletContext.java
at
newatlanta.servletexec.HostServletContext.loadConfiguredServlet(HostServletContext.java
at
newatlanta.servletexec.HostServletContext.getServlet(HostServletContext.java)
at
newatlanta.servletexec.ServletExec.processServletRequest(ServletExec.java)
at
newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java,
Compiled Code)
at
newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java
Neeraj Singh wrote:
> Not sure about ServletExpress but it works fine with Tomcat3.1 ... here u
> have to make a new webapp let's say 'chat' and copy all your classes in
> WEB-INF\classes directory of this webapp ... also u need to describe the
> servlet configuration in web.xml file .. make sure your chatAdmin servlet
> is loaded on startup .
>
>
___________________________________________________________________________
> 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
Paintbrush