Stamatis Karvounarakis wrote:
Hello I have a servlet that I want to load on startup of jetspeed2. So I
have added the following fragment in web.xml of my own project as I used to
do in jetspeed1:
<servlet>
                <servlet-name>
                        init
                </servlet-name>
                <servlet-class>
                        gr.ics.forth.SWPG.appserver.web.impl.CWEBInitServlet
                </servlet-class>
                <load-on-startup>1</load-on-startup>
        </servlet>

Nevertheless,the servlet is not launched. Can someone explain to me what do
I do wrong?
Thanks a lot

Stamatis

Where did you put the class

gr.ics.forth.SWPG.appserver.web.impl.CWEBInitServlet

Assuming you want it to start up in Jetspeed's context, it has to go in Jetspeed's classpath, usually as a jar file in WEB-INF/lib or a class file fully qualified under WEB-INF/classes

Also, be careful where you place the <servlet> definition in the web.xml as XML element definitions there are DTD validated

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to