On Fri, 2003-01-31 at 18:37, Scherler, Thorsten wrote: > Hello again, > > I have shorten the xsp: > <xsp:page language="java" xmlns:xsp="http://apache.org/xsp" >xmlns:esql="http://apache.org/cocoon/SQL/v2" >xmlns:xsp-request="http://apache.org/xsp/request/2.0"> > <dataset> > <xsp:logic> > Date myDate = ""; > try{ > myDate = (new > SimpleDateFormat("dd.MM.yyyy")).parse(request.getParameter("date")); ---^ You had a missing ')'
> String dateParam = (new SimpleDateFormat("MM/dd/yyyy")).format(myDate); > }catch(Exception e){ > getLogger().error("XSP date error: ", e); > } > </xsp:logic> > <test> > <xsp:expr>myDate </xsp:expr> > </test> > </dataset> > </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]>