Hi,
I was work with cocoon 1.8 and i have my aplication in this version work
very well, but when i try in coccon2 not work and the message is
----------------------------------------------------------------------------------------
message Cocoon engine failed in process.
description The Cocoon engine said it failed to process the request for
an unknown reason.
sender org.apache.cocoon.servlet.CocoonServlet
----------------------------------------------------------------------------------------------
this method whith c2 not work, any body why ???
<xsp:logic>
int obtenIntentos(String nombreGalleta,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res) {
int intentos = 0;
try{
Galleta cooki = new Galleta(req,res,nombreGalleta);
if( cooki.LaGalleta != null ){
String v = cooki.getGalleta().getValue();
intentos = Integer.parseInt(v);
}
else
intentos = 0;
}catch(Exception e){
System.out.println("obtenIntento:"+e.toString()); }
return intentos;
}
</xsp:logic>
How I can migrate my aplication in cocoon 1.8 to cocoon2 whitout
changes in code xsp.
thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]