Thank for the answer. I have created a simple portal using the jetspeed2
guide to a simple portal. I have put the jar in the lets say
simple/WEB-INF/lib. Is this correct? One additional question. Since the
portlet  is hot delpoyed in jetspeed2 in which startup will the servlet be
loaded? Do I have to restart tomcat, or it will be loaded upon the
deployment of the portlet?

Thanks again

On 3/2/06, David Sean Taylor <[EMAIL PROTECTED]> wrote:
>
> 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