Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 86216 invoked by uid 500); 22 Mar 2001 12:55:53 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 86205 invoked from network); 22 Mar 2001 12:55:53 -0000 X-Originating-IP: [148.88.0.10] From: "Robin Green" To: cocoon-users@xml.apache.org Cc: c0kusa@geogr.uni-jena.de Subject: Re: Ecmascript Date: Thu, 22 Mar 2001 12:55:27 -0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 22 Mar 2001 12:55:27.0673 (UTC) FILETIME=[5E513A90:01C0B2CF] X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Yes, someone noticed this recently. ECMAscript and DCP support have now been removed from Cocoon, because they are old, not working, and no-one seems to be using them (or to know how to fix them). But we could in theory bring them back from the dead if there is sufficient interest. We encourage all server-side dynamic logic to be written in Java instead - it is faster and more powerful. Cocoon 2 will support a whole range of languages to be plugged in more easily as Generators. You can of course still use ECMAScript on the client side (see the FAQ if you have problems). "Sandeep N Kundu" wrote: >The cocoon sample at > >samples\dcp\ecmascript\sample-page.xml > >doesn't work and shows the error > >{DCP Error: java.lang.NullPointerException: } >java.lang.NullPointerException: at >org.apache.cocoon.processor.dcp.DCPEngine.processObject(DCPEngine.java:325) >at org.apache.cocoon.processor.dcp.DCPEngine.doProcess(DCPEngine.java, >Compiled Code) at >org.apache.cocoon.processor.dcp.DCPEngine.doProcess(DCPEngine.java, >Compiled Code) at >org.apache.cocoon.processor.dcp.DCPEngine.doProcess(DCPEngine.java, >Compiled Code) at >org.apache.cocoon.processor.dcp.DCPEngine.process(DCPEngine.java, Compiled >Code) at >org.apache.cocoon.processor.dcp.DCPProcessor.process(DCPProcessor.java:85) >at org.apache.cocoon.Engine.handle(Engine.java, Compiled Code) at >org.apache.cocoon.Cocoon.service(Cocoon.java:183) at >javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at >org.apache.jserv.JServConnection.processRequest(JServConnection.java) at >org.apache.jserv.JServConnection.run(JServConnection.java) at >java.lang.Thread.run(Thread.java:479) ................................ > >Can anybody suggest how to make it work. I am using Cocoon 1.8.2 in Jserv >and Apache. >Do I have to do some changes in configuration of some and if yos how and >which files. > >Thanking you > >Sandeep _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: