jsp 自写义类 - Java / Web 开发
这是错误信息,严重: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP:
An error occurred at line: 33 in the jsp file: /WebRoot/index.jsp
Detail cannot be resolved to a type
30: <span class="one" >论坛</span><span class="two" >主题</span><span class="three" >最后发表时间</span>
31: </div><!--title end-->
32: <%
33: Detail board = new Detail();
34: board.findIndex();
35: %>
36: <%--
An error occurred at line: 33 in the jsp file: /WebRoot/index.jsp
Detail cannot be resolved to a type
30: <span class="one" >论坛</span><span class="two" >主题</span><span class="three" >最后发表时间</span>
31: </div><!--title end-->
32: <%
33: Detail board = new Detail();
34: board.findIndex();
35: %>
36: <%--
Stacktrace:
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
at org.apache.jasper.compiler.JDTCompiler.ge
相关问答:
我已经按照教程上配置tomcat的server.xml
<Context path = "/POS" docBase = "POS" debug = "5" reloadable = "true" crossContext = "true" workDir = &quo ......
本人正在用Java做一个C/S架构的项目,
可是由于项目比较大,前期对架构的设计尤其重要,因为后期可能随时会加个功能或者去掉某些功能。
所以特地寻求如何设计C/S的架构使程序更加面向对象更加易于维 ......
代码如下 ,我想通过代理访问一些网址,但是不知道如何测试代理成功,我想通过访问“http://www.blogger.com/”来看看是否代理成功,但是也不能访问,出现异常“Unexpected end of file from server”,但是如果不这 ......
<?xml version="1.0" encoding="utf-8" ?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical&q ......
rt,我试了网上直连Acces数据库的方法,windows下没有问题,但是在linux下不行,谁能给点提示?谢谢
你怎么连的?
Acces数据库..
你怎么练的呢?
Java code:
static String DBDRIVER = "sun.jd ......