Rockin!  I'll give this a try.

--
Matt Ho
Principal
Indigo Egg, Inc.
Providing VoiceXML Professional Services



> -----Original Message-----
> From: Piroumian, Konstantin [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, December 10, 2001 12:51 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Reading a JSP file
> 
> 
> Hi!
> 
> JSPReader were added only to the C2.1-dev branch, cause it 
> seemed to me that nobobdy is interested in it and I didn't 
> post a patch for C2.0. The attached is the src of JSPReader 
> that I used with Cocoon 2.0 (a few weeks old version), hope 
> it will work with the release too.
> 
> P.S. If anybody else is interested in JSPReader I'll improve 
> it and send a patch to C2.0 with samples and docs.
> 
> Regards,
>     Konstantin Piroumian
> 
> ----- Original Message -----
> From: "Matt Ho" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Cc: "Rachel McConnell" <[EMAIL PROTECTED]>
> Sent: Monday, December 10, 2001 12:12 AM
> Subject: Reading a JSP file
> 
> 
> > Ugh.  I've read through all the documentation I can find, 
> but I can't 
> > figure out how to get my submap to serve up JSP pages 
> natively (i.e. 
> > they don't output XML).
> >
> > I have the following configuration:
> >
> > * Redhat 7.2
> > * Tomcat 4.0.1
> > * Sun JDK 1.3.1
> >
> > When I place JSP files in the webapps/cocoon directory, 
> they work just 
> > fine.  When I create a submap
> >
> >   <map:pipeline>
> >    <map:match pattern="intranet/**">
> >     <map:mount uri-prefix="intranet" src="file:/home/intranet/" 
> > check-reload="yes"/>
> >    </map:match>
> >   </map:pipeline>
> >
> > The submap works and does every other mapping that it 
> should, but it 
> > will not display a plain JSP page.  The error that I get 
> back is 'The 
> > request resource is not available'.  The log files are not 
> providing 
> > me a clue either.
> >
> > I've tried a workaround without success.  I downloaded the 
> top of tree 
> > version which I noted had JSPReader.  I then JSPReader with the 
> > cocoon2 binary release and tried configuring it by hand via:
> >
> >    <map:reader name="jsp" 
> src="org.apache.cocoon.reading.JSPReader"/>
> >
> > No joy.
> >
> > Any help would be appreciated.
> >
> > Thanks!
> >
> > --
> > Matt Ho
> > Principal
> > Indigo Egg, Inc.
> > Providing VoiceXML Professional Services
> >
> >
> >
> > 
> ---------------------------------------------------------------------
> > 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