how to pass to parameters using <html:link> in struts
843838Mar 27 2006 — edited Mar 27 2006Hello,
I want send the two parametername [i.e opertaion and userid] to next page.
this is my code in jsp
"emp_val" is arry list object that having userId.
<bean:define id="user_id" name="emp_val" property="userId"/>
<html:link page="/editEmployee.do?operation=edit_view&userId=<%=user_id %>">Edit</html:link>
in struts-config.xml :
<action path="/editEmployee"
name="EmployeeListForm"
type="com.pack1.Employee">
<forward name="edit_success" path="/jsp/Edit_Employee.jsp"/>
</action>
when i clik this link next page showing NullPointer Exception.
Advance thanx...............