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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to