Hi Friends,

 I have apache and Jserv setup and running.
For the JServSSI I downloaded the java files,
created the classes and added the  following
line to my httpd.conf file.

AddType text/html .shtml
AddHandler server-parsed .shtml

And in the jserv part,
ApJServAction .shtml /servlets/org.apache.jservssi.JServSSI

The zone is right and it is able to find the class, but
when I ask for current time as
<SERVLET CODE=CurrentTime>
</SERVLET>
in my shtml page,

The output is 

The current time is :
 <!-- java.lang.ClassNotFoundException: can't find servlet named "CurrentTime"
        at org.apache.jservssi.ServletInfoRequest.runServlet(JServSSI.java:906)
        at org.apache.jservssi.JServSSI.interpretPage(Compiled Code)
        at org.apache.jservssi.JServSSI.doGet(JServSSI.java:302)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:499)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
        at org.apache.jserv.JServConnection.run(JServConnection.java:359)
        at java.lang.Thread.run(Thread.java:466)
-->

There has to be a set of classes which this SSI servlet can load...(A jar?)
And I do not find info on this anywhere.

 Can someone please help?

Thanks in advance

 Anand.

 
 




------------------------------------------------------------
To subscribe:    [EMAIL PROTECTED]
To unsubscribe:  [EMAIL PROTECTED]
Problems?:       [EMAIL PROTECTED]

Reply via email to