Hi Nithi,

If you are using Apache JServ, then you already have the
servlet.properties file created, even though in Apache 1.3.6 is your
properties file for the zone you want to use. The default zone is
usually called root and the file is "zone.properties" in the conf
directory of your Apache JServ installation directory.

But if you want something compatible with specification 1.0, then I'd
recommend using another engine, like JRun, as JavaSofts JSWDK1.0-ea is
not fully compatible with their own specification (the extends
directive, for example )and has some bugs (the imports directive, for
example).

Hope this helps, and good luck
Dan
-------------------------------------------
Daniel Lopez Janariz ([EMAIL PROTECTED])
Object Systems Design Engineer
Computer Center
Balearic Islands University
-------------------------------------------

Nithi Rajan wrote:
>
> Hi,
>
> I'm using Apache 1.3.6 Jserv with JSWDk 1.0 for running jsp.
>
> When I try to invoke http://localhost/snoop.jsp
> I get the following error,
>
> The JSP Engine is not configured with a scratch dir.
> Please add
>         jsp.initparams=scratchdir=<dir name>
> in the servlets.properties file for this context
> The JSP Engine is not configured with a scratch dir.
> Please add
>         jsp.initparams=scratchdir=<dir name>
> in the servlets.properties file for this context
> JspEngine --> c:\program files\apache group\apache\htdocs\snoop.jsp
> Unhandled error! You might want to consider having an error page to report
> such errors more gracefully
> java.lang.NullPointerException
>         at
> com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:71)
>         at
> com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:79)
>         at com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:180)
>         at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:219)
>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
>         at org.apache.jserv.JServConnection.processRequest(JServConnection.java)
>         at org.apache.jserv.JServConnection.run(JServConnection.java)
>         at java.lang.Thread.run(Thread.java:479)
>
> Now, I want to know where to put servlets.properties file.
>
> Any help is highly appreciated.
>
> Thanks,
> Nithi.

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to