Dotakus 2016-02-01 08:28 采纳率: 40%
浏览 1284

AlanXUpload在weblogic8上报错

我想做个多文件上传的功能,了解到AlanXUpload控件很方便就想试试,但是报错了,,,
在网上下载了一个demo,导入到MyEclipse中,因为需要用到这个功能的项目所在环境是weblogic8和JDK1.4的- -(请不要吐槽),所以我就把它部署到我本地的weblogic上了,但是报以下错误
/index.jsp(1): Could not parse deployment descriptor: org.xml.sax.SAXException: [HTTP:101248][ServletContext(id=13633191,name=AlanXTest,context-path=/AlanXTest)]: Deployment descriptor "/WEB-INF/AlanXUpload.tld" is malformed. Check against the DTD: XML document structures must start and end within the same entity. (line 109, column 1).
probably occurred due to an error in /index.jsp line 1:
<%@ taglib prefix="ax" uri="/WEB-INF/AlanXUpload.tld" %>

这是demo的源码

 <%@ taglib prefix="ax" uri="/WEB-INF/AlanXUpload.tld" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">

    <title>My JSP 'index.jsp' starting page</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">    
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
    <ax:head/>
  </head>

  <body>
    <ax:body/>

  </body>
</html>

之后我又把它放到tomcat上试了试,结果却是能正常运行,我不是很了解服务器这一块,希望有人帮帮我

  • 写回答

3条回答 默认 最新

  • Dotakus 2016-02-01 08:37
    关注

    能想到点什么的请都说下哦~我在线的哟~

    评论

报告相同问题?

悬赏问题

  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?
  • ¥15 求daily translation(DT)偏差订正方法的代码
  • ¥15 js调用html页面需要隐藏某个按钮