W
Wenfei
Hi,
My existing code is:
<a href="addClassifyCat.do?cid=<bean:write name="CategoryForm"
property="cid"/>
&ppcid=<bean:write name="PCategoryForm" property="pcid"/>
<font color="Green" face="impact">Add</font>
</a>
As you see, Two parameters (cid and ppcid) are passed to
addClassifyCatAction.java (mapping is in the struts).
So if I have another text field, how can I pass the text field value to
the same addClassifyCatAction.java? Or is there any other way to
retrive the text field value besides my existing two parameters ?
Please note, My jsp code is not a html form. CategoryForm and
PCategoryForm are set from java code: request.setAttribute(......).
Thanks,
Wenfei
My existing code is:
<a href="addClassifyCat.do?cid=<bean:write name="CategoryForm"
property="cid"/>
&ppcid=<bean:write name="PCategoryForm" property="pcid"/>
<font color="Green" face="impact">Add</font>
</a>
As you see, Two parameters (cid and ppcid) are passed to
addClassifyCatAction.java (mapping is in the struts).
So if I have another text field, how can I pass the text field value to
the same addClassifyCatAction.java? Or is there any other way to
retrive the text field value besides my existing two parameters ?
Please note, My jsp code is not a html form. CategoryForm and
PCategoryForm are set from java code: request.setAttribute(......).
Thanks,
Wenfei