Hi Michael, I may be wrong on this, but I believe there's a typo in the hello world sample. In your xsp, make sure you're looking for an ATTRIBUTE named "hello" - not a PARAMETER. If I remember right, the sample accidentally does a getParameter instead of a getAttribute. =) Hope that helps!
Harry -----Original Message----- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 2:13 PM To: [EMAIL PROTECTED] Subject: Re: Actions Programming On 30.Apr.2002 -- 07:59 PM, Michael Mangeng wrote: > Hi > > I´ve encountered a little/funny problem when trying to recreate the simple hello world action. > I´ve used the sample code (without the org.xml.sax.EntityResolver import because i think i do not need it here). > > Cocoon realizes that it needs to replace {world} with 'hello' in the stiemap as set in the siteParams hashmap in the class. But when i request the file via a web browser, i can only see > <quote> > Hello . > </quote> > There is no typo in the class where i do a request.setAttribute("hello", "world") to request.. which is objectModel.get(Constants.REQUEST_OBJECT); > > The strange thing here is that the class for itself is loaded successfully (without that, cocoon would not know that it has to replace {world} with hello in the sitemap... > > Any ideas ? Did you declare the xsp-request namespace? Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>