can we use two form in single jsp ? i am using struts with hibernate and in hibernate i have many- to one mapping
< class name="com.dto.EmployeeDTO" table="EMPLOYEEDTO">
< id name="id" type="java.lang.String">
< column name="ID" />
< generator class="assigned" />
< /id>
< property name="fName" type="java.lang.String" access="field">
< column name="FNAME" />
< /property>
< property name="lName" type="java.lang.String" access="field">
< column name="LNAME" />
< /property>
< many-to-one name="address" class="com.dto.Address" fetch="join">
< column name="ADDRESS" />
< /many-to-one>
< class>
in my employee pojo
private String id;
private String fName;
private String lName;
private Address address;
now i want to submit all data with one form