黄森huang
2016-11-10 19:14
<%@ page language="java" import="java.util.*" contentType="text/html; charset=utf-8" %> <% String path = request.getContextPath(); String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <base href="<%=basePath%>"> <title>My JSP 'dojava.jsp' starting page</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!-- <link rel="stylesheet" type="text/css" href="styles.css"> --> </head> <body> <jsp:useBean id="myuser" class="bean.Bean" scope="page"/>//这里会报错,不知道什么原因,求大神指点 <h1>setProperty动作标签</h1> </body> </html>
请把全部代码 和报错提示也附上来,否则如何分析
class="bean.Bean"这个值填的是正确吗?
JAVA遇见HTML——JSP篇
248282 学习 · 3071 问题
相似问题