cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Maring <>
Subject what CLASSPATH available to logicsheets?
Date Thu, 06 Apr 2000 15:19:56 GMT
I have a homemade class that I want to use in a logicsheet.  I have put the
directory to the class in the system CLASSPATH and in the wrapper.classpath
in, but it STILL cannot find my class.  How does this
work?  Have I missed something?

java.lang.Exception: XSP Java Compiler: Compilation failed for
53: Undefined variable or class name: DataServletUtils
    HashMap loginRequestParams = DataServletUtils.getParameters( request );
61: Undefined variable or class name: DataServletUtils
    DataServletUtils.redirect( url, response, loginResponseParams );
2 errors

<?xml version="1.0"?>

<xsl:stylesheet version="1.0"

  <xsl:template match="page">

    <xsp:page xmlns:xsp="">




	     HashMap loginRequestParams = DataServletUtils.getParameters(
request );
	     String username = (String) loginRequestParams.get( "username"
	     String password = (String) loginRequestParams.get( "password"
	     URL url = new URL( "http://luckydog/modelSystem/redirected.xml"
	     HashMap loginResponseParams = new HashMap();
	     String key = "username";
	     loginResponseParams.put( key, username );
	     DataServletUtils.redirect( url, response, loginResponseParams





View raw message