apache tomcat 5.528 不能上传文件解决思路
发布时间:2010-06-14 18:50:23 文章来源:www.iduyao.cn 采编人员:星星草
apache tomcat 5.528 不能上传文件
不能上传文件 所有的上传文件都报不同的错。。。
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: 13 in the jsp file: /zyop.jsp
The method getDate() is undefined for the type DateFormate
10: id=DateFormate.getId();
11: jname=DateFormate.toGb((String)request.getParameter("jname"));
12: sid=DateFormate.toGb((String)request.getParameter("sid"));
13: sj=DateFormate.getDate();
14: nr=DateFormate.toGb((String)request.getParameter("nr"));
15:
16: lyop.add(id,jname,sid,sj,nr,"2");
Stacktrace:
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:93)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:319)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:564)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:302)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
note The full stack trace of the root cause is available in the Apache Tomcat/5.5.28 logs.
------解决方案--------------------
不是提示了嘛...
The method getDate() is undefined for the type DateFormate
------解决方案--------------------
看提示, 应该是日期格式的问题.
别人的机子上, 日期格式肯定与你的日期格式设置不同呗.
不能讲, 别人机子上没问题就代表代码没问题.
我的异常网推荐解决方案:The server encountered an internal error () that prevented it from fulfilling this request.,http://www.myexceptions.net/java-web/317.html
我的异常网推荐解决方案:org.apache.jasper.JasperException: Unable to compile class,http://www.myexceptions.net/j2ee/2308.html
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。
其他相似内容:
-
有关 CAS 证书认证的 单点登录 问题
cas框架,证书jre中可以查看到证书,开启了ssl ,修改hosts为sso.wsria.com
输入https:\\sso.w...
-
后缀名问题
我写了一个登陆用的htmL页面 名字就叫:logion.html但是那个图标就是不变成浏览器的样子是一个未知图标,请问要怎么样解...
-
请问如何用java代码实现 ,重启tomcat6啊
请问如何用java代码实现 ,重启tomcat6啊
公司领导有个需求:需要在页面上实现一个按钮来重启...
-
IIS与TOMCAT的整合,函数不正确
我的服务器是IIS+TOMCAT整合起来的,里面挂有ASP、PHP和JAVA等网站,以前一直用得好好的,但前些天删除掉...
-
关闭tomcat时出错了!!!怎么回事
息: Stopping Coyote HTTP/1.1 on http-8080
Exception in thread "ShutdownHook" java.lang.NullPo...
-
struts2 Exception 求解答
严重: Exception starting filter strutsdangdang
java.lang.ClassNotFoundException: org.apache.str...
-
tomcat启动后无法访问localhost
2011-10-10 16:12:08 org.apache.catalina.core.AprLifecycleListener init
信息: The Apache To...
-
JSP页面和Servlet页面不在同一个目录下,JSP页面通过表单的action如何跳转到servlet页面
我的项目的名称是Exercise,然后在src目录...
-
Apache下的DocumentRoot目录指定
apache配置文件已经指定了,但是日志里面还是报错。
<VirtualHost *:8080>
DocumentRoot /var/...
-
如何让外网访问虚拟机上的apache
apache安装在虚拟机上,通过局域网的ip地址能够在本机上对它进行访问,但是在外网就不能通过外网的I...