cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject jsp:include / c:import & cocoon
Date Tue, 31 Aug 2004 09:39:33 GMT

I would like to use JSP with the jsp:include statement or the c:import
statement from the jstl standard taglib.

However, it doesn't work out of the box, and cocoon threws an exception

I have the following jsp files:
-- test.jsp: --
<jsp:include page="test2.jsp"/>
-- test2.jsp --
this is test 2

When I open test.jsp in the browser, the following error message appears
in the browser:
--- error start ---
Internal Server Error

Message: null

Description: No details available.

Sender: org.apache.cocoon.servlet.CocoonServlet

Source: Cocoon Servlet

Request URI






Apache Cocoon 2.1
--- error end ---

This message doesn't give any usefull information.

In thes sitemap log, I find some logs about test.jsp, but none about
test2.jsp. The related logs of the sitemap are located in

The server.log also contains an exception with a stacktrace; this one is
locatd at

When I use the c:import function, importing of local (context-relative)
files doesn't work. importing of non-local urls (e.g. works ok.

Cocoon authentication is used to secure the whole context(except the
login-form which is html).

The include directive works, but this is not a valid option because this
makes dynamic inclusion of files impossible (like

Any suggestions to fix this problem?

Thanks very much.


Kees van Dieren

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message