读书人

struts的jsp Action中传到EL表达式参数

发布时间: 2012-11-08 08:48:11 作者: rapoo

struts的jsp Action中传入EL表达式参数及myeclipse操作技巧(涛)

1.<a href="/searchBuildingInfo.do?method=searchBuildingInfo&buildingId=${houseBy.buildingId}">楼盘信息</a>
上述的buildingId会在jsp页面中解析成相应的代码。
而不是用:
?<html:link page="/searchBuildingInfo.do?method=searchBuildingInfo" buildId=${houseBy.buildingId}>楼盘信息</html:link>
也不是:<html:linkpage="/searchBuildingInfo.do?method=searchBuildingInfo"buildId="${houseBy.buildingId"}>楼盘信息</html:link>
2.ctrl+z在myeclipse中实现返回
3.在workspace中在边框bar处右键选择show line number.
4.wordspace中点击右键选择resource可以构造和setter/getter.

读书人网 >JavaScript

热点推荐