日期:2014-05-16  浏览次数:20444 次

extjs tabPanel 加载jsp出错 由于出现错误 80020101 而导致此项操作无法完成(单独访问该JSP一切正常)





以下是链接的jsp文件代码:
<%@ page language="java" pageEncoding="GBK"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<html>
	<head>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<script type="text/javascript" src="<%=request.getContextPath()%>/common_i/js/jQuery/js/jquery-1.4.2.min.js"></script>
		<script type="text/javascript">
			function add() {
				var sFeatures = "dialogHeight:650px;dialogWidth:910px;";
			    sFeatures = sFeatures + "center:yes;edge:raised;scroll:no;status:no;unadorned:yes;";
			    var url = "<html:rewrite page='/manage/photo_news_iframe.jsp'/>";
			    url = encodeURI(url);
			    var rlt = window.showModalDialog(url,this,sFeatures);
			    if (rlt != null && "ok" == rlt) {
			    	ajaxGetPNS();
			    }
			}
			
			function update(id) {
				var sFeatures = "dialogHeight:700px;dialogWidth:1000px;";
			    sFeatures = sFeatures + "center:yes;edge:raised;scroll:no;status:no;unadorned:yes;";
			    var url = "<html:rewrite page='/manage/photo_news_iframe.jsp?pn.id=" + id + "'/>";
			    url = encodeURI(url);
			    var rlt = window.showModalDialog(url,this,sFeatures);
			    if (rlt != null && "ok" == rlt) {
			    	ajaxGetPNS();
			    }
			}
			
			function del(id) {
				$(function() {
					$.ajax({
						url: "/EnterpriseBlog/manage/sys/photoNews.do?method=delete",
						data: {"strIds": id},
						type: "post",
						dataType: "json",
						success: function(data) {
							ajaxGetPNS();
						}
					});
				});
			}
			ajaxGetPNS();
			
			function ajaxGetPNS() {
				$(function() {
					$.ajax({
						url: "/EnterpriseBlog/manage/sys/photoNews.do?method=newList",
						data: {"pageIndex": 1, "prePageSize": 100},
						type: "post",
						dataType: "json",
						success: function(data) {
							var table = $("#CONTENT");// 获取显示数据的表格
							$("#CONTENT tr").remove();// 清除表格中的内容
							if (parseInt(data.totalProperty) == 0) {
								$("#CONTENT").append("<tr bgcolor='#FFFFFF' class='downline'><td style='line-height:25px; color:#0054A8;font-size: 13px;' colspan='3'>抱歉,您还没上传图片新闻!</td></tr>");
							} else {
								$.each(data.root, function(idx, item) {
									var tmp = "<tr bgcolor='#FFFFFF'>";
									tmp += "<td width='100'>" + item.name + "</td>";
									tmp += "<td width='400'>" + item.frameName + "</td>";
									tmp += "<td>";
									tmp += "<a target='_blank' href='<%=request.getContextPath()%>/home/photo_news_view.jsp?id="+item.id+"'>查看</a>&nbsp;";
									tmp += "<a target='_blank' onclick='update(" + item.id + ")'>修改</a>&nbsp;";
									tmp += "<a target='_blank' onclick='del(" + item.id + ")'>删除</a>";
									tmp += "</td>";
									tmp += "</tr>";
									table.append(tmp);
								});
							}
						}
					});
				});
			}
		</script>
	</head>
	<body>
	<center>
		<table width="90%" border="0" align="center">
			<tr>
				<td><button class="searchtb" onclick="javascript: add();"><img src="<%=request.getContextPath()%>/common_i/images/brr7.gif" width="32" height="32" align="absmiddle" />增加封面&nbsp;</button></td>
    			<td>&nbsp;</td>
    			<td>&nbsp;</td>
			</tr>
		</table>
		<table width="90%" border="0" align="center" cellpadding="6" cellspacing="1" bgcolor="#CCCCCC">
		  	<tr bgcolor="#cfebfd">
			    <td width="100" align="center">封面图片名称</td>
			    <td width="400" align="center">所属分公司</td>
			    <td widt