Hi,

The implementation of JSPGenerator, 
or more specially org.apache.cooon.components.jsp.JSPEngine 
depends on the ServletEngine.

JSPEngine was implemented for 
Tomcat, and WLS5.1.

I failed to implement JSPEngine for WebLogicServer 6.1, as
WLS conforms strictly to the Servelet 2.3 specs, and i didn't
want to get to deep into WLS internal classes.


A more generic approache is available since Servlet 2.3
and using the org.apache.cooon.servlert.CocoonFilterGeneratorImpl

The filter CocoonFilterGeneratorImpl "calls" Cocoon as post-processing
task, you might want to set the filter-mapping for this
filter to map all jsp files.

Hmm more detailed info you might find in the mailing-archives
or in the javadoc of CocoonFilterGeneratorImpl, and
its RequestAttributeGenerator.

bye bernhard



Huber Bernhard, email: [EMAIL PROTECTED], homepage:
members.a1.net/berni_huber/index.html



----- Ursprüngliche Nachricht -----
Von: Konstantin Piroumian <[EMAIL PROTECTED]>
Datum: Freitag, Mai 17, 2002 11:41 am
Betreff: Re: JSPGenerator doesn't work for me?

> > Gerhard Froehlich wrote:
> > > Hi,
> > > I'm trying to get the .jsp sample running, but I
> > > get some nasty:
> > >   java.lang.ClassCastException:
> > > org.apache.xerces.jaxp.DocumentBuilderFactoryImpl
> > >
> > > Exception.
> > >
> > > Feeling like a complete newbie in the field,
> > > but I don't get this baby running.
> > >
> > > HELP :-)
> >
> > Ohh yes I'm running W2K, resin 2.04 and jdk1.3
> > in the moment.
> 
> Nothing related to JAXP, but maybe would help you to go a little 
> furtherwhen you solve those parser problems:
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4934
> 
> I've never used JSP in Cocoon with anything except Tomcat 3.x, 
> 4.x. Usually,
> it required to copy jasper-compiler.jar to cocoon/WEB-INF/lib 
> directory to
> get it running.
> 
> Konstantin
> 
> >
> > Greets
> > Gerhard
> >
> > --
> >
> > "This message was printed on all-new,
> > 100% virgin electrons
> > (Tom Harrington)"
> >
> > Weblogging at: http://radio.weblogs.com/0107791/
> >
> >
> > -----------------------------------------------------------------
> ----
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
> >
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
> 
>


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

Reply via email to