cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Cordes <mcord...@maine.edu>
Subject Re: XSP/XSL taglib request/session
Date Fri, 03 Nov 2000 16:30:14 GMT
Hello Peter,

Inside a taglibrary you can have <xsp:logic> blocks, so
inside one of those just use the 'session' or 'request' objects.

e.g.

<xsp:logic>
	session.setAttribute( "1", "2" );

	String username = request.getParameter( "username" );
</xsp:logic>	

Remember to declare/include the XSP namespace.

-matt

On Fri, Nov 03, 2000 at 04:15:00PM +0100, Peter Verhage wrote:
> How can I get access to the request and/or session object from within a
> self made taglibrary? 
> 
> -- 
> Peter Verhage       <peter@ibuildings.nl>
> ibuildings.nl BV - information technology
> http://www.ibuildings.nl -  0118 41 50 54
> 
> ---------------------------------------------------------------------
> 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