Thanks Vadim and Bryan,

Your last mails provided the soulution.

For JSP-files a subdirectory "jsp/" is required an in the src-attribute a
beginning "/" is required.

by
christian

> -----Ursprüngliche Nachricht-----
> Von: Bryan Murphy [mailto:[EMAIL PROTECTED]]
> Gesendet: Mittwoch, 30. Januar 2002 18:27
> An: [EMAIL PROTECTED]
> Betreff: Re: JSP-Generator-problem
> 
> 
> One other thing...
> 
> I found that in order to get my JSPs working, I had to put a 
> "/" at the 
> beginning of the src attribute.
> 
> For instance,
> 
> <map:generate type="jsp" src="jsp/{1}.jsp"/>
> 
> would have to become:
> 
> <map:generate type="jsp" src="/jsp/{1}.jsp"/>
> 
> in order to work for me.  I only ever experienced this 
> problem with JSP 
> files.
> 
> Bryan
> 
> >I see. From your email:
> >
> ><map:match pattern="jsp/*">
> >     <map:generate type="jsp" src="bancotec/floxco/src/jsp/{1}.jsp"/>
> >     <map:transform src="stylesheets/page/simple-page2html.xsl"/>
> >     <map:serialize type="html"/>
> ></map:match>
> >
> >The Code is in
> >TOMCAT_HOME/webapps/cocoon/bancotec/floxco/src/View/menue.jsp
> ><<<
> >
> >
> >JSP files must be in the directory:
> >  TOMCAT_HOME/webapps/cocoon/bancotec/floxco/src/jsp/
> >
> >
> >Sorry for missing that from the beginning.
> >
> >Vadim
> >
> >>-----Original Message-----
> >>From: Bucholdt, Christian [mailto:[EMAIL PROTECTED]]
> >>Sent: Wednesday, January 30, 2002 12:02 PM
> >>To: '[EMAIL PROTECTED]'
> >>Subject: AW: JSP-Generator-problem
> >>
> >>Hi,
> >>
> >>It's not the <jsp:include ...> Tag a problem. The same error is
> >>
> >without this
> >
> >>Tag.
> >>Only the hello.jsp in cocoon/docs/samples/jsp/-Directory works fine.
> >>
> >>It's perhaps a Directory-Problem?
> >>
> >>gruss
> >>christian
> >>
> 
> 
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to