易截截图软件、单文件、免安装、纯绿色、仅160KB

JSP 500错误

HTTP Status 500 -

--------------------------------------------------------------------------------

type Exception report

message

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:

An error occurred at line: 20 in the jsp file: /houtai/add1.jsp
Control cannot be resolved to a type
17: <%=two %>
18: <%=name %>
19: <%=newcontrol%>
20: <%Control cons=new Control(one,two,name,newcontrol); %>
21: </body>
22: </html>


An error occurred at line: 20 in the jsp file: /houtai/add1.jsp
Control cannot be resolved to a type
17: <%=two %>
18: <%=name %>
19: <%=newcontrol%>
20: <%Control cons=new Control(one,two,name,newcontrol); %>
21: </body>
22: </html>


原因在时 什么??


引用
500错 = 服务器端程序出错。

An error occurred at line: 20 in the jsp file: /houtai/add1.jsp

错误发生在add1.jsp这个文件的第20行。

楼主留心下错误信息,下次就能看出来了。呵呵。





An error occurred at line: 20 in the j


相关问答:

jsp 中乱码的 - Java / Web 开发

我的开发的平台是Myeclipes6.0 + tomcat5.x + mysql
我所有的编码方式都是用的UTF-8 
我只用了Strtus框架
在一个form中如下用的是post的提交方式:
 <form class="form" action=&quo ......

jsp中显示菜单(递归)

问题描述:

    例如我要显示的内容如下所示

一级目录1
    一级目录1子类1
        子类1
    一级目录1子类2
      ......

关于jsp 引入后页面跳转的问题 - Java / Java EE

问题是这样的:
   
我有一个文件nagiv.jsp 另一个文件failure.jsp包含他,同时nagiv文件中有一个可以跳转到yy.jsp的commandButton,但是我将failure中点击nagiv中的哪个commandButton,也面不会跳转 ......

jsp页面中字体变色问题 - Java / Web 开发

<html><head><title>[@title]</title>
<meta http-equiv=Content-Type content="text/html; charset=gb2312">
<script language='javascript'>
function diyCheck ......

jsp怎么设置referer属性 - Java / Java EE

通过request.getHeader("Referer")可以获得上个页面的来源,有没有办法伪造这个referer属性.
response.setHeader("refresh","3;url='regiest.jsp'");

response.setHeader("re ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号