title: Pass object from JSP to a action class in Struts 1.3
body: <p>I want to pass an object from JSP to an action class. How to do it? I have no idea regarding it. Some of my sample codes are here:</p>
  
  <pre><code>&lt;tr class="alt"&gt;
      &lt;td&gt;&lt;html:link href=""&gt;&lt;bean:write name="EmpInfo" property="empId" /&gt;&lt;/html:link&gt;&lt;/td&gt;
      &lt;td&gt;&lt;bean:write name="EmpInfo" property="empName" /&gt;&lt;/td&gt;
      &lt;td&gt;&lt;bean:write name="EmpInfo" property="empAddress" /&gt;&lt;/td&gt;
      &lt;td&gt;&lt;bean:write name="EmpInfo" property="empPhNumber" /&gt;&lt;/td&gt;
      &lt;td&gt;&lt;bean:write name="EmpInfo" property="empEmailId" /&gt;&lt;/td&gt;
      &lt;td&gt;&lt;bean:write name="EmpInfo" property="empLocName" /&gt;&lt;/td&gt;
      &lt;td&gt;&lt;bean:write name="EmpInfo" property="empCountryName" /&gt;&lt;/td&gt;
      &lt;td&gt;&lt;bean:write name="EmpInfo" property="empDob" /&gt;&lt;/td&gt;
      &lt;td&gt;&lt;html:link href=""&gt;&lt;bean:message key="view.single.emp.update"/&gt;&lt;/html:link&gt;&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>in the above code in the <code>&lt;html:link href=""&gt;</code> tag i wanna pass the <code>empId</code> or the object <code>EmpInfo</code> to an action class. Here's <code>EmpInfo</code> is value object and it has all the getter and setters in it. </p>