cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oskar Werewka <...@poczta.onet.pl>
Subject Re: Using Session and Request object
Date Wed, 09 May 2001 14:48:42 GMT

You can access request in you implementation of:

       public void populateDocument(
         HttpServletRequest request,
         HttpServletResponse response,
         Document document
       ) .....................

Not at class level C1.x

> > java.lang.Exception: XSP Java Compiler: Compilation failed for
> > _Session2.java 26: Undefined variable or class name: request HttpSession
> > mySession = request.getSession(true);
>
>
>Hi,
>
>check out the xsp code for session:get-id or have a look at the
>generated java source. This will lead you to the solution.
>
>Regards
>
>Michael
>
>---------------------------------------------------------------------
>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>



-- 
 

---------------------------------------------------------------------
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