I used a form for button action, <FORM ACTION="../action/ListAccountAction.do" METHOD="POST">
<INPUT TYPE="SUBMIT" VALUE="Submit">
but now I need to click on a text hyper link to another detail page, for example, click on accountName then display all detail info about that account. When click on the accountName, I need pass in the accountID for the next search process also. How to code this part? Any one have sample code?
now I find can use this: <html:link page="/DisplyAccountAction.do"><%=accountName%></html:link> in struts-config: <action path="/DisplyAccountAction" parameter="/jsp/profile/account/accountDetail.jsp" type="com.uf.management.profile.item.action.DisplayAccountAction"/>
But now my pbm is how to pass the accountID to action with the link? bcs in my Action, I need the accountID (which user clicked) to retrieve from DB, then disply detail in the next page(accountDetail.jsp). [ June 08, 2005: Message edited by: michelle Wang ]