cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nesto" <>
Subject Newbie: where is the error?
Date Mon, 17 Feb 2003 10:30:25 GMT

I use some JSP for the xml-data generation.
These JSPs import some java classes for query a database, and so on...
These classes are used ONLY in the JSPs.

Where I have to put these java classes on the cocoon context??
In the folder cocoon/WEB-INF?
Or somewhere inside the cocoon/myApp folder??
Do I have to configure the file cocoon.xconf for using of my custom classes?

Sorry for my newbie question, but I can't find where the error is!
In the sub-sitemap I wrote:

<map:match pattern="userdata.jsp">
 <map:act type="request">
   <map:parameter name="parameters" value="true"/>
   <map:generate type="jsp" src="userdata.jsp?username={username}&amp;password={password}"
   <map:transform src="stylesheets/user.xsl"/> -->
   <map:serialize type="xhtml"/>

But, when I request http://myHost:8080/cocoon/myApp/userdata.jsp (of course with the parameters
passed through an xhtml form) I can only obtain this:

HTTP Status 500 - 
type Exception report


description The server encountered an internal error () that prevented it from fulfilling
this request.


	at org.apache.coyote.tomcat4.CoyoteResponseFacade.reset(
	at org.apache.cocoon.servlet.CocoonServlet.service(
	at javax.servlet.http.HttpServlet.service(
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(
	at org.apache.catalina.core.StandardWrapperValve.invoke(
you for the help!Nesto
View raw message