tapestry-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nils Zonneveld <n.zonnev...@topdesk.com>
Subject Re: Need help in creating session object
Date Fri, 02 Sep 2005 09:07:17 GMT
Anjali Abraham wrote:

>Hi All,
>            How to create session objects in tapestry4.0v, i.e. What code
>need to be added into .page and .java file for the same?
>Thanks in Advance,
I use Tapestry 3.0.3. With "Session object", I assume you mean a 
HttpSession object.

Tapestry uses a Visit object for HttpSession like storage.


    <property name="org.apache.tapestry.visit-class"
      value="com.foo.bar.system.Visit" />

in your .application file. The Visit class is just a POJO that 
implements Serializable.


Nils Zonneveld

To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org

View raw message