go to Engine.java , find
==============================================================
    public void handle(PrintWriter out, HttpServletRequest request,
HttpServletResponse response) throws Exception {

        long time = 0;

        if (VERBOSE) {
            time = System.currentTimeMillis();
        }

        String basename = request.getPathTranslated();
==============================================================
at Tomcate, getPathTranslated() will get nulll at mapping, so change it to

==============================================================
 public void handle(PrintWriter out, HttpServletRequest request,
HttpServletResponse response, ServletContext context) throws Exception {

        long time = 0;

        if (VERBOSE) {
            time = System.currentTimeMillis();
        }


String basename =  context.getRealPath(request.getServletPath()));

==============================================================

you must change Cocoon.java, too.
-Brenden- @_@
----- Original Message -----
From: Luc Saint-Elie <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 18, 1999 12:53 AM
Subject: JSWDK 1.0 (Tomcat) with Cocoon


> Hello,
>
> Has anybody successfully set Cocoon 1.3.1 with Tomcat (JSWDK 1.0-ea) under
> Win32?
> I'm looking for correct settings.
>
> Until now I'm able to display Cocoon status but despite
>
> .xml = Cocoon
>
> In my mapping.properties file, a call to a .xml file leads to a Cocoon
> status page display, not to a XSL processing
> (The strange thing is that JSP work perfectly)
>
> To avoid a class loader problem I'v tried with cocoon.jar, xslp.jar and
> openxml.jar jared and included in the CLASSPATH (the files been inside
> JSWDK directory, in the lib directory), and I tried also unjaring both in
> the WEB-INF/servlets.
> Both solutions fail, the only result been a status page display.
>
> I post this message in JSP-INTEREST because its clearly a Tomcat (JSP)
> settings problem, cocoon works like a charm with other servers
>
> Thanks in advance
> +------------------------------------------------+
> | Luc Saint-Elie                                 |
> | 53, rue Caulaincourt                           |
> | 75018  Paris France                            |
> | Tel: 01 42 52 09 62 / 06 12 90 19 65           |
> | email : [EMAIL PROTECTED]                   |
> +------------------------------------------------+
> |  Java Server Side  Open Source technologies    |
> |       http://www.interpasnet.com/JSS           |
> +------------------------------------------------+
>
>
===========================================================================
> 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".
> For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html
>
>

===========================================================================
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".
For JSP FAQ, http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to