portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gregory Joseph" <gjos...@kiala.com>
Subject RE: web.xml in jetspeed
Date Mon, 10 Nov 2003 21:33:11 GMT

Don't you forget to include a servlet-mapping? Also, don't forget that
elements order are important in the web.xml, if you're using specs<2.4
If this doesn't help, i'll have a look at my stuff when i'm back at work.


-----Original Message-----
From:	nick the mytilian [mailto:athanasi@csd.uoc.gr]
Sent:	Mon 11/10/03 20:00
To:	jetspeed-dev@jakarta.apache.org
Cc:	jetspeed-user@jakarta.apache.org
Subject:	web.xml in jetspeed

I try to set up my jetspeed application under tomcat 4.1.27 and jetspeed

I would like to start a servlet "on-startup-time", so i add the following
snippet of code in ${JETSPEED_HOME}/webapp/WEB-INF/web.xml file:




This worked well in tomcat 4.1.18 and jetspeed 1.4b2, but in the new
version of jetspeed I see that web.xml has changed. As a result, jetspeed
does not start AT ALL (!).

Does anyone use a servlet loaded from web.xml file in jetspeed 1.4?

the servlet is the following:

package fr.inria.cweb.appserver;

import java.io.*;
import javax.servlet.*;
import javax.servlet.http.*;

public class ServletTemplate extends HttpServlet {
  public void doGet(HttpServletRequest request,
                    HttpServletResponse response)
      throws ServletException, IOException {

    PrintWriter out = response.getWriter();

  I really thank you.


To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org

View raw message