日期:2014-05-16  浏览次数:20263 次

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:link page="/searchBuildingInfo.do?method=searchBuildingInfo" buildId="${houseBy.buildingId"}>楼盘信息</html:link>
2.ctrl+z 在myeclipse中实现返回
3.在workspace中在边框bar处右键选择show line number .
4.wordspace中点击右键选择resource可以构造和setter/getter.