在eclipse中运行jsp界面,出现500错误
<%@pagecontentType="text/html;charset=gb2312"import="java.sql.*"%><%@pageimport="java...
<%@ page contentType="text/html; charset=gb2312"import="java.sql.*" %>
<%@ page import="java.util.*"%>
<html>
这个是表头
Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 1 in the generated java file
The type org.apache.struts.action.ActionForm cannot be resolved. It is indirectly referenced from requir
这个是错误原因,求大神解释? 展开
<%@ page import="java.util.*"%>
<html>
这个是表头
Stacktrace:] with root cause
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 1 in the generated java file
The type org.apache.struts.action.ActionForm cannot be resolved. It is indirectly referenced from requir
这个是错误原因,求大神解释? 展开
展开全部
<%@ page contentType="text/html"; charset=“gb2312”;import="java.sql.*" %>
<%@ page import="java.util.*"%>
<html>
<%@ page import="java.util.*"%>
<html>
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
charset=gb2312"import="java.sql.*" 这中间要有间隔
追问
我加上空格之后还是不行啊?还是一样的错误?
追答
我说的间隔不是空格,是加分号 ; 吧
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询