JSP文件是这样的:
<%@ page contentType="text/html; charset=GBK" %>
<html>
<head>
<title>
Jsp1
</title>
</head>
<jsp:useBean id="Jsp1BeanId" scope="session" class="sdf.Jsp1Bean" />
<jsp:setProperty name="Jsp1BeanId" 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="Jsp1BeanId" property="sample" />
</form>
</body>
</html>
<%@ page contentType="text/html; charset=GBK" %>
<html>
<head>
<title>
Jsp1
</title>
</head>
<jsp:useBean id="Jsp1BeanId" scope="session" class="sdf.Jsp1Bean" />
<jsp:setProperty name="Jsp1BeanId" 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="Jsp1BeanId" property="sample" />
</form>
</body>
</html>
解决方案 »
- JSpinner 为什么不能有获得焦点的事件?
- 关于java事务机制的疑问,高手请进来指导(本人以为确实值得讨论),谢谢。
- [求助]如何获取系统盘符
- JCheckBox小问题??help
- 关于Swing的一个简单问题!
- 关于时间的问题!
- 我正在赶往程序员的途中。。。途中迷茫。。彷徨。。失去方向 想哥哥们能带我达到目的地 5555555555555555555555555555555555555555555555
- java中如何实现串口读写?
- java中如何进行com串行口事件侦听,。。。。高分
- 线程中同步的小问题,在线等
- 如何通过一个函数改变传入的一个参数的值(参数类型如String int)???????
- 关于textpane的问题,高手们进来看看
看看你的class,然后重新编译了。