cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernhard Huber" <bh22...@i-one.at>
Subject Re: Fwd: Re: [C2] Configurable JspEngineImpl
Date Thu, 19 Jul 2001 19:59:00 GMT
Hi,
the jsp-generator.xml is in the attachment,

bye bernhard

----- Originalnachricht -----
Von: Davanum Srinivas <dims@yahoo.com>
Datum: Donnerstag, Juli 19, 2001 8:09 pm
Betreff: Re: Fwd: Re: [C2] Configurable JspEngineImpl

> In, jsp-generator.xml under xdocs. You can do a "build docs" to 
> build the documentation.
> 
> Thanks,
> dims
> 
> --- Bernhard Huber <bh22351@i-one.at> wrote:
> > Okay
> > Where should I add some comments?
> > 
> > ----- Originalnachricht -----
> > Von: Davanum Srinivas <dims@yahoo.com>
> > Datum: Donnerstag, Juli 19, 2001 7:40 pm
> > Betreff: Fwd: Re: [C2] Configurable JspEngineImpl
> > 
> > > Thanks Bernhard. Checked in JSPEngineImplWLS and 
> > > JSPEngineImplNamedDispatcherInclude into C2.1
> > > ONLY. Could you help us (once again) by updating the 
> documentation 
> > > a bit?
> > > 
> > > Thanks Again,
> > > dims
> > > 
> > > Note: forwarded message attached.
> > > 
> > > 
> > > =====
> > > Davanum Srinivas, JNI-FAQ Manager
> > > http://www.jGuru.com/faq/JNI
> > > 
> > > __________________________________________________
> > > Do You Yahoo!?
> > > Get personalized email addresses from Yahoo! Mail
> > > http://personal.mail.yahoo.com/
> > 
> 
> > ATTACHMENT part 2 message/rfc822 
> > From: "Bernhard Huber" <bh22351@i-one.at>
> > To: dims@yahoo.com
> > Date: Thu, 19 Jul 2001 17:15:31 GMT
> > Subject: Re: [C2] Configurable JspEngineImpl
> > 
> > Hi,
> > implemented org.apache.cocoon.components.jsp.JSPEngineImplWLS,
> > New parameter servlet-name, for specifying jsp servlet-name,
> > used in ServletContext.getNamedDispatcher(),
> > 
> > Tested with test.jsp, and test1.jsp under WLS5.1 and xml-
> cocoon2.1-dev.
> > 
> > In cocoon.xconf you can specify your my.roles file as follows
> > Added moreover servlet-name in order to specify the jsp-servlet 
> name. 
> > This setting
> > is not neccessary, as '*.jsp' is the default value.
> > 
> >     ...
> >     <cocoon version="2.0" user-roles="WEB-INF/my.roles">
> >     ...
> >     <jsp-engine>
> >       <parameter name="servlet-class" 
> > value="org.apache.jasper.servlet.JspServlet"/>
> >       <parameter name="servlet-name" value="*.jsp"/>
> >     </jsp-engine>
> >     
> >     And create a new file my.roles in WEB-INF directory with
> >     
> >     <?xml version="1.0"?>
> >     <role-list>
> >     <role name="org.apache.cocoon.components.jsp.JSPEngine"
> >         shorthand="jsp-engine"
> >         default-
> > class="org.apache.cocoon.components.jsp.JSPEngineImplWLS"/>
> >     </role-list>
> > 
> > Additionally I haved added untested more generic  
> > org.apache.cocoon.components.jsp.JSPEngineImplNamedDispatcherInclude
> > 
> > 
> > ----- Originalnachricht -----
> > Von: Davanum Srinivas <dims@yahoo.com>
> > Datum: Dienstag, Juli 17, 2001 11:49 pm
> > Betreff: Re: [C2] Configurable JspEngineImpl
> > 
> > > Bernhard,
> > > 
> > > Looking forward to the updated JSPEngineImplWLS once you 
> finish 
> > > your testing :)
> > > 
> > > Thanks,
> > > dims
> > > 
> > > --- Bernhard Huber <bh22351@i-one.at> wrote:
> > > > Hi
> > > > Specifying my.roles, that's cool!
> > > > Is this feature about defining roles already in faq, or 
> documented?> > > Because that's really cool!
> > > > 
> > > > ....
> > > > thanks bernhard
> > > > 
> > > > ----- Originalnachricht -----
> > > > Von: Davanum Srinivas <dims@yahoo.com>
> > > > Datum: Dienstag, Juli 17, 2001 10:55 pm
> > > > Betreff: Re: [C2] Configurable JspEngineImpl
> > > > 
> > > > > Q: How do i setup your own .roles file?
> > > > > A: In cocoon.xconf you can specify your my.roles file as 
> follows> > > >   
> > > > >   ...
> > > > >   <cocoon version="2.0" user-roles="WEB-INF/my.roles">
> > > > >   ...
> > > > >   
> > > > >   And create a new file my.roles in WEB-INF directory with
> > > > >   
> > > > >   <?xml version="1.0"?>
> > > > >   <role-list>
> > > > >   <role name="org.apache.cocoon.components.jsp.JSPEngine"
> > > > >       shorthand="jsp-engine"
> > > > >       default-
> > > > > 
> class="org.apache.cocoon.components.jsp.JSPEngineImplWLS"/>   
> > > > > </role-list>
> > > > > 
> > > > > Q: How do i update files in specific directories?
> > > > > A: invoke "cvs update" from specific directory. (Am not a 
> CVS 
> > > guru 
> > > > > either) 
> > > > > Thanks,
> > > > > dims
> > > > > --- Bernhard Huber <bh22351@i-one.at> wrote:
> > > > > > Hi,
> > > > > > Now I have adapted to your new JspEngine.
> > > > > > I have created a JSPEngineImplWLS.java file.
> > > > > > But.. now I don't understand how-to setup cocoon.roles 
> to 
> > > test it.
> > > > > > Really I'm not joking. 
> > > > > > On way which I don't want to do is changing the 
> cocoon.roles in
> > > > > > org.apache.cocoon. This gets compiled into cocoon.jar.
> > > > > > Is there any other way to select the JSPEngineImplWLS 
> instead> > > > > of JSPEngineImpl?
> > > > > > 
> > > > > > Next, I'm really not a cvs guru. Is there any easy way 
> just to
> > > > > > get the latest sources regarding the JSPEngine stuff, 
> easily?> > > > > 
> > > > > > Well the stuff regarding relative filename I'll try to 
> check,> > > > > but it will take some time,...
> > > > > > 
> > > > > > bernhard
> > > > > > 
> > > > > > ----- Originalnachricht -----
> > > > > > Von: Davanum Srinivas <dims@yahoo.com>
> > > > > > Datum: Montag, Juli 16, 2001 3:43 pm
> > > > > > Betreff: [C2] Configurable JspEngineImpl
> > > > > > 
> > > > > > > Bernhard,
> > > > > > > 
> > > > > > > I have update both C2.0 and C2.1 with a new feature - 
> > > > > > > JSPEngine.java and JSPEngineImpl.java.
> > > > > > > JSPGenerator has been modified to use these. 
> > > > > > > 
> > > > > > > Can you please do me a favor (as i don't have access 
> to 
> > > > > WebLogic). 
> > > > > > > Can you please port your code
> > > > > > > to this latest structure and re-post it? This will 
> > > **really** 
> > > > > be 
> > > > > > > helpful. Also take a look at
> > > > > > > cocoon.roles on how to pass parameters to JSPEngine.
> > > > > > > 
> > > > > > > Thanks,
> > > > > > > dims
> > > > > > > 
> > > > > > > --- Bernhard Huber <bh22351@i-one.at> wrote:
> > > > > > > > dims,
> > > > > > > > zip with code&samples, short read me
> > > > > > > > 
> > > > > > > > ----- Originalnachricht -----
> > > > > > > > Von: Davanum Srinivas <dims@yahoo.com>
> > > > > > > > Datum: Sonntag, Juli 15, 2001 3:11 pm
> > > > > > > > Betreff: Re: [C2]: Planning beta 2 (Configurable 
> > > > > JspGenerator 
> > > > > > > which work
> > > > > > > > 
> > > > > > > > > Bernhard,
> > > > > > > > > 
> > > > > > > > > Can you please post your code?
> > > > > > > > > 
> > > > > > > > > Thanks,
> > > > > > > > > dims
> > > > > > > > > 
> > > > > > > > > --- Bernhard Huber <bh22351@i-one.at> wrote:
> > > > > > > > > > Return-Path: <bh22351@i-one.at>
> > > > > > > > > > Received: (qmail 24814 invoked from network);
15 
> Jul 
> > > > > 2001 
> > > > > > > > > 07:22:12 -0000
> > > > > > > > > > Received: from ns1.i-one.at (HELO mail1.i-
> one.at) 
> > > > > > > (194.24.128.100)> > >   by h31.sny.collab.net
with 
> SMTP; 
> > > 15 
> > > > > Jul 
> > > > > > > 2001 07:22:12 -0000
> > > > > > > > > > Received: from webmail.i-one.at 
> ([194.24.128.241]) by
> > > > > > > > > >           mail1.i-one.at (Netscape Messaging

> Server 
> > > > > 4.15) 
> > > > > > > with 
> > > > > > > > > ESMTP id
> > > > > > > > > >           GGI74E00.99P for <cocoon-dev-
> > > > > info@xml.apache.org>; 
> > > > > > > > > Sun, 15 Jul
> > > > > > > > > >           2001 09:21:50 +0200 
> > > > > > > > > > Received: from i-one.at ([127.0.0.1]) by

> webmail.i-
> > > one.at> > > > > > >           (Netscape Messaging Server
4.15) 
> > > with ESMTP id 
> > > > > > > > > GGI74D00.FBV 
> > > > > > > > > > for
> > > > > > > > > >           <cocoon-dev-info@xml.apache.org>;
Sun, 
> 15 
> > > Jul 
> > > > > 2001 
> > > > > > > > > 09:21:49 
> > > > > > > > > > +0200 
> > > > > > > > > > From: "Bernhard Huber" <bh22351@i-one.at>
> > > > > > > > > > To: cocoon-dev-info@xml.apache.org
> > > > > > > > > > Message-ID: <1ac8061ac4ef.1ac4ef1ac806@i-one.at>
> > > > > > > > > > Date: Sun, 15 Jul 2001 07:21:49 GMT
> > > > > > > > > > X-Mailer: Netscape Webmail
> > > > > > > > > > MIME-Version: 1.0
> > > > > > > > > > Content-Language: de
> > > > > > > > > > Subject: Re: [C2]: Planning beta 2 (Configurable

> > > > > > > JspGenerator 
> > > > > > > > > which work
> > > > > > > > > > X-Accept-Language: de
> > > > > > > > > > Content-Type: multipart/mixed; boundary="--
> > > 74bc722f5405fb8"> > > > > > > X-Spam-Rating: 
> h31.sny.collab.net 
> > > 1.6.2 0/1000/N
> > > > > > > > > > 
> > > > > > > > > > This is a multi-part message in MIME format.
> > > > > > > > > > 
> > > > > > > > > > ----74bc722f5405fb8
> > > > > > > > > > Content-Type: text/plain; charset=us-ascii
> > > > > > > > > > Content-Disposition: inline
> > > > > > > > > > Content-Transfer-Encoding: 7bit
> > > > > > > > > > 
> > > > > > > > > > Hi
> > > > > > > > > > Your approach always trying to load the
jsp-
> servlet 
> > > class> > > > > > > does not work for WebLogic5.1, and
I 
> suspect 
> > > for 
> > 
> === message truncated ===> ----------------------------------------
> -----------------------------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org> 
> begin:vcard> n:Huber;Bernhard
> > fn:Bernhard Huber
> > version:2.1
> > email;internet:bh22351@i-one.at
> > end:vcard
> > 
> > > ---------------------------------------------------------------
> ------
> > To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> > For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 
> =====
> Davanum Srinivas, JNI-FAQ Manager
> http://www.jGuru.com/faq/JNI
> 
> __________________________________________________
> Do You Yahoo!?
> Get personalized email addresses from Yahoo! Mail
> http://personal.mail.yahoo.com/
> 
> -------------------------------------------------------------------
> --
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
> 
> 

Mime
View raw message