how jsp code get html text field's value

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top