cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geert Poels" <>
Subject RE: difference between xsp-session and session
Date Thu, 29 Aug 2002 12:52:50 GMT
>> xmlns:xsp-session=""
>There is no difference as long as the namespace URI is the same. The
>namespace prefix is just a short name for the namespace URI.
That's what I assumed at first, but as one example showed otherwise.

** How about the necessity of create-session="true" ?

** How can I use the session- or request-object within a <xsp:logic>
	Like in :
		boolean isTrue() {
			boolean result = false;
			String language = (String)<session:get-attribute name="somename"/>;
			or (String) session.getAttribute("somename");
			return ;

This give me a compilation-error because no object session can be found.
This method gets compiled as class-method but as session is not defined globally, this doesn't
get compiled.

Please check that your question  has not already been answered in the
FAQ before posting.     <>

To unsubscribe, e-mail:     <>
For additional commands, e-mail:   <>

View raw message