读书人

jsp页长相关

发布时间: 2012-09-10 22:20:13 作者: rapoo

jsp页面相关
Action 中 参数 String lb = "1"; 保存的是整数1;
Jsp 页面 使用struts if标签判断 <s:if test="%{ghlb == 1}">正确</s:if>

String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
basePath = http://localhost:8080/web root/



地址: 能显示出来 ghxx是对象 ${ghxx.dz} 能从对象中取值

待续更新...

读书人网 >JavaScript

热点推荐