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: [C2] Configurable JspEngineImpl
Date Tue, 17 Jul 2001 21:07:34 GMT
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 
> WebLogic6.0 
> > > too.> > > 
> > > > > > I was trying to adapt WebLogic5.1 Server JSP into cocoon2.
> > > > > > I now have implemented that using 
> RequestDispatcher.include().> > > > > 
> > > > > > This is due to WLS specific problems trying to load the
> > > > > > weblogic.servlet.JSPServlet directly!
> > > > > > Sadly I haven't found a ways to implement this WLS neutral.
> > > 
> > > 
> > > =====
> > > 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
> > > 
> > > 
> > > 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