<p>If i can use</p>

<pre><code>&lt;td&gt;&lt;textarea&gt;&lt;bean:write name="smlMoverDetailForm" property="empFDJoiningDate"/&gt;
&lt;/textarea&gt;&lt;/td&gt;
</code></pre>

<p>to displace a value how can i use the struts tags to save a vaiable to the sesssion </p>

<p>in sudo code</p>

<pre><code>session.setAttribute("test" , "&lt;bean:write name="smlMoverDetailForm"
property="empFDJoiningDate"/&gt;");
</code></pre>

<p>is this possible?</p>

I don't think so.
Struts tags are only available in jsp pages.
But you can do something like this:
if the bean smlMoverDetailForm is in scope request
```
```
session.setAttribute("test",((THECLASSOFTHEBEAN)request.getAttribute("smlMoverDetailForm")).getEmpFDJoiningDate());
```
```
else if the bean smlMoverDetailForm is in scope session
```
```
session.setAttribute("test",((THECLASSOFTHEBEAN)request.getSession().getAttribute("smlMoverDetailForm")).getEmpFDJoiningDate());
```
```