cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Caroline Boonen <cboo...@morren.com>
Subject Re: XSP : request error
Date Thu, 15 Mar 2001 15:52:02 GMT
I've looking the _login.java and my code is valid, except for the
declaration of request. Who can I access this variable ? Must I use
PopulateDocument function ? 


On Thu, 15 Mar 2001, you wrote:
> Caroline Boonen wrote:
> > 
> > Hello,
> > 
> > I'm running Cocoon with Tomcat standalone on Linux Suse 6.4
> > 
> > I'm trying to use request on a xsp page but I've this error when I launch it:
> > 
> > java.lang.Exception: XSP Java Compiler: Compilation failed for _login.java
> > 42: Undefined variable or class name: request
> >   login = request.getParameter("login");
> >           ^
> > 44: Undefined variable or class name: request
> >   password = request.getParameter("password");
> (...)
> 
> It's because your XSP page is not valid.
> 
> Go into your repository, and look at your _login.java file to see 
> what is wrong. 
> 
> Try to guess what you need to change in your XSP page to make
> java-code valid.
> 
> At this stage, XSP is just a stupid macro-processor (using XSLT).
> 
> -- 
> Sébastien Koechlin - IVision - skoechlin@ivision.fr
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

-- 

Caroline BOONEN


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message