jsp也面 通过formbean 获取内容
<%
String deviceBuyTime=""
double deviceMoney=0.0;
int recordId=0;
deviceBuyTime=devicefrom.getDeviceBuyTime();
deviceMoney=devicefrom.getDeviceMoney();
recordId=devicefrom.getRecordId();
%>
<html:hidden property="recordId" value="<%=recordId%>"/>
<html:text property="deviceMoney" value="<%=deviceMoney%>">
运行提示我:The method setValue(String) in the type BaseInputTag is not applicable for the arguments (double)
我想知道 怎么才能通过<%=%> 这种形式付值,
我的formbean 里面 money 是doube 类型 ID 是int类型
另外:
我在action 里封装了一个 formbean 如 request.setAttribute("xiugai", actForm);
那么jsp 页面 如何用struts1 的 标签 将内容读取出来,最好能举例子谢谢,不要网上粘贴的那些
楼主需要的是这个么?如果不是,那能说详细些么