Code:
<html>
<head>
<title>
JspTest
</title>
</head>
<jsp:useBean id="JspTestBeanId" scope="session" class="jsptest.JspTestBean" />
<jsp:setProperty name="JspTestBeanId" property="*" />
<body>
<h1>
JBuilder Generated JSP
</h1>
<form method="post">
<br>Enter new value:<input name="sample"><br>
<br><br>
<input type="submit" name="Submit" value="Submit">
<input type="reset" value="Reset">
<br>
Value of Bean property is :<jsp:getProperty name="JspTestBeanId" property="sample" />
</form>
</body>
</html>
<html>
<head>
<title>
JspTest
</title>
</head>
<jsp:useBean id="JspTestBeanId" scope="session" class="jsptest.JspTestBean" />
<jsp:setProperty name="JspTestBeanId" property="*" />
<body>
<h1>
JBuilder Generated JSP
</h1>
<form method="post">
<br>Enter new value:<input name="sample"><br>
<br><br>
<input type="submit" name="Submit" value="Submit">
<input type="reset" value="Reset">
<br>
Value of Bean property is :<jsp:getProperty name="JspTestBeanId" property="sample" />
</form>
</body>
</html>
解决方案 »
- 跪求:Myeclipse+tomcat5+MySQL数据源配置问题
- 自己动手写淘宝开放平台:TOP(将WebService REST进行到底!!)
- jsp中的include的问题
- tomcat启动提示cannot find the declaration of element 'web-app'
- tomcat6的虚拟目录配置
- 程序异常,麻烦各位帮我看下!谢谢
- 怎样实现用户访问统计功能
- 连接MYSQL遇到问题!!!!HELP~~~~
- 日期型的数据如何网oracle9i里插呀,格式老是出错
- struts、Velocity、JPublish有什么区别?
- JSP和文件上传问题(高分相送)
- 菜鸟问题:jsp和servlet之间可以用session通信吗?!
不知你放在什么地方?说说你放的路径?