Hello Oro,

try the following:

Oro smith wrote:

this is the entire code:

<xsp:page
language="java"
xmlns:xsp="http://apache.org/xsp";
xmlns:util="http://apache.org/xsp/util/2.0";
xmlns:xsp-session-fw="http://apache.org/xsp/session-fw/1.0";>
<data>
<xsp:logic>
String lang="loop";


try
{

lang=parameters.getParameter("ups","default");


}
catch( ParseException e )
{
getLogger().error("XSP param error: ", e);
}

</xsp:logic>
 <xsp:expr>lang</xsp:expr>
</data>
</xsp:page>




Have a look at http://wiki.cocoondev.org/Wiki.jsp?page=XSPTransformCustomDate. It shows you how yo use try/catch block in more detail.


HTH
thorsten



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



Reply via email to