vgritsenko 02/02/05 17:25:32 Modified: src/webapp/docs/samples/xsp cacheable.xsp Log: one more Revision Changes Path 1.3 +1 -3 xml-cocoon2/src/webapp/docs/samples/xsp/cacheable.xsp Index: cacheable.xsp =================================================================== RCS file: /home/cvs/xml-cocoon2/src/webapp/docs/samples/xsp/cacheable.xsp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- cacheable.xsp 6 Feb 2002 00:32:50 -0000 1.2 +++ cacheable.xsp 6 Feb 2002 01:25:32 -0000 1.3 @@ -11,8 +11,6 @@ </xsp:structure> <xsp:logic> - private static final String className = getClass().getName(); - /** * Generate the unique key. * This key must be unique inside the space of this XSP page. @@ -24,7 +22,7 @@ public long generateKey() { // Generate unique key; add parameters' values here - return "" + request.getParameter("param")); + return HashUtil.hash(request.getParameter("param")); } /**
---------------------------------------------------------------------- In case of troubles, e-mail: [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]