cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Madhu latha" <bmla...@hotmail.com>
Subject problem with request
Date Tue, 21 May 2002 17:12:52 GMT
Hi,
   I created a small xml program to test the request parameters.
<?xml version="1.0"?>

<xsp:page
    xmlns:xsp="http://apache.org/xsp"
    xmlns:xsp-request="http://apache.org/xsp/request/2.0"
>
  <html>
    <b>Request method:</b> <xsp-request:get-method/>
    <br/>
    <b>Fruit requested:</b> <xsp-request:get-parameter name="fruit"/>
  </html>
</xsp:page>

I had a proper entry in sitemap.xmap. When i try to run this program with 
the following syntax http://localhost:8080/cocoon/request.xml?fruit=apple, 
it is displaying a null pointer exception. I am not knowing whether this is 
the right way to access the request parameters or not. Can you please inform 
me what is wrong with my code ??

Thanks
Madhu

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com


---------------------------------------------------------------------
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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message