On Fri, 2003-01-31 at 16:09, Scherler, Thorsten wrote:
> Hello Jan,
> 
> I couldn't find the error.
> 
> But I attached it.
> 

The following code looks VERY wrong as you seem to have java code that
resides outside of a method.

/*snip*/
try{ 
    String timeOfDay = (new 
SimpleDateFormat("MM/dd/yyyy")).format(request.getParameter("date")); 
}catch(Exception e){} 


      /** 
       * Generate XML data. 
       */ 
      public void generate() throws SAXException, IOException,
ProcessingException {     
/*snip*/

Make sure that the request.getParameter ... code is placed after the
first xml element in the xsp page.

-- 
Andrew Timberlake <[EMAIL PROTECTED]>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to