当前位置:编程学习 > JAVA >>

jsp使用frame时,问题解决不了了!!

jsp中,实用frame时,出现个错误,解决不了了:

struts2访问一个action,到一个页面tree.jsp,很正常。

但如果把这个action(listFL.do)放下面的frame中,就不正常了,报错如下:

SCRIPT5007: 无法获取属性“ui”的值: 对象为 null 或未定义 
ext-all.js, 行100 字符1872


<%@ page contentType="text/html;charset=UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>demo</title>
</head>

<FRAMESET border=0 frameSpacing=0 rows=117,*>
<FRAME id=header-frame name=header-frame src="top.jsp"
 scrolling=no>
<FRAMESET id=frame-body border=0 frameSpacing=0 cols="256, *">
<FRAME id=menu-frame name=menu-frame src="left.jsp" 
scrolling=yes>
<FRAME id=main-frame name=main-frame src="../fl/listFl.do"
 scrolling=yes>
</FRAMESET>
</FRAMESET>
</html>

--------------------编程问答-------------------- 说实话,没看懂啥意思 --------------------编程问答-------------------- 遇到同样的问题,甚是关注!楼主解决了没有啊,分享一下啊!!! --------------------编程问答-------------------- 没解决,放弃了。

你解决了告诉下我?回这个帖子就行。。。
引用 2 楼 liubo_ooo 的回复:
遇到同样的问题,甚是关注!楼主解决了没有啊,分享一下啊!!!
--------------------编程问答-------------------- ext-all.js, 行100 字符1872

楼主定位到这一行,看看是哪个对象是空的。
另外最好使用火狐来调试这个问题,火狐报错比较准确。 --------------------编程问答-------------------- src="../fl/listFl.do"
文件路径不对
补充:Java ,  Web 开发
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,