cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Hauer <ha...@uni-freiburg.de>
Subject Re: Beginer XSP question
Date Mon, 13 Mar 2000 14:48:41 GMT

Hi,

I had the same error some time ago.

you will have to place your <xsp:logic> block into one of your xml tags:

Like this:

<?xml version="1.0" encoding="ISO-8859-1"?>
<?cocoon-process type="xsp"?>
<?cocoon-process type="xslt"?>
<?xml-stylesheet  href="frames2.xsl" type="text/xsl"?>
 
<xsp:page language="java"
 xmlns:xsp="http://www.apache.org/1999/XSP/Core">
       <session>
         <xsp:logic>
           
            HttpSession session=request.getSession(true);
            String done=(String)session.getValue("file");          
              
         </xsp:logic>
	 <xsp:expr>done</xsp:expr>
       </session>
</xsp:page>

> 25: Undefined variable or class name: request
>            HttpSession session=request.getSession(true);

ciao,

	Sebastian



Mime
View raw message