无法编译jsp的类
无法编译jsp的类可能是什么造成的?
运行tomcat后打开http://localhost:8080/Test/后报的错
不知道楼主配置虚拟目录了没,如果没配置,直接输入http://localhost:8080/Test/是不行的。没配置的话,必须输出http://localhost:8080/下某个项目工程的某个jsp文件才行.
错去提示是什么呀?????????????
你说是jsp的类???难道是servlet?
你的jsp写的有问题。
jsp其实就是servlet,要编译为class的
新年快乐,虎年吉祥如意!
帮顶
请把错误信息给出来。
2楼说的:“
不知道楼主配置虚拟目录了没,如果没配置,直接输入http://localhost:8080/Test/是不行的。没配置的话,必须输出http://localhost:8080/下某个项目工程的某个jsp文件才行.”
顶
这问题问的 大家要去猜你出现什么问题了
呵呵 不清楚什么问题
错误提示:
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:597)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
直接输入http://local
相关问答:
type Exception report
message
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jas ......
问题描述:
例如我要显示的内容如下所示
一级目录1
一级目录1子类1
子类1
一级目录1子类2
......
jsp中include.inc的作用是什么?
include.inc啥意思?没听说过
Java code:
<%include file="include.inc"%>加载网站目录include.inc文件内容
包含一个静态页面吧···
& ......
一个JSP页面接收其他页面提交过来的FORM表单,但是要求只接收当前站点及其子站点提交过来的FORM表单,其他站点提交过来的表单不接收,这个怎么设置?
用过滤器
filter
将当前站点及其子站点放一个目录
然 ......
在jsp页面中怎么获得Struts2在action中配置的request。
我在后台的配置如下:
List list = new ArrayList();
list.add(users);
ActionContext ct= ActionContext.getContext();
HttpServletRequest requ ......