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,

Regards,
Anjali


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.

put

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


HTH,

Nils Zonneveld

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to