jsp:getProperty标签
jsp:getProperty标签用于获取被加载到当前页面中的JavaBean中某个属性的值
格式:<jsp:getProperty name=? property=? />
name:JavaBean的对象名,用于指定从哪个JavaBean中获取属性值
property:JavaBean中的属性名,用于指定获取JavaBean中的哪个属性值
注意:当JavaBean中的属性名为xxx,而获取该属性值的方法名为getYyy(),则property="yyy",而不是property="xxx"
相关文档:
jsp内置对象
定义:可以不加声明就在JSP页面脚本(Java程序片和Java表达式)中使用的成员变量
JSP共有以下9种基本内置组件(可与ASP的6种内部组件相对应):
内置对象
代表内容
范围
request
触发服务调用的请求
request
response
对请求的应答
page
session
为请求的客户创建的sessio ......
I used Eclipse to try the google app engine demo project: guestbook.
when i create a *.jsp file in the WAR directory,the error information appear:
"Your Web Application Project must be configured to use a JDK in order to use JSPs."
solution:
It is because Eclipse put the JRE to the JRE directory ......
HTML:
<META HTTP-EQUIV="pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache, must-revalidate">
<META HTTP-EQUIV="expires" CONTENT="Wed, 26 Feb 1997 08:21:57 GMT">
<META HTTP-EQUIV="expires" CONTENT="0">
PHP:
header("Expires: Mon, 26 Jul 1997 ......