cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From berni_hu...@a1.net
Subject Re: JSPGenerator doesn't work for me?
Date Fri, 17 May 2002 10:04:31 GMT
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: berni.huber@a1.net, homepage:
members.a1.net/berni_huber/index.html



----- Urspr√ľngliche Nachricht -----
Von: Konstantin Piroumian <kpiroumian@apache.org>
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: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> >
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message