Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/jsp/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/iphone/40.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
未编译html框架集中的jsp:weblogic_Jsp_Weblogic_Frameset - Fatal编程技术网

未编译html框架集中的jsp:weblogic

未编译html框架集中的jsp:weblogic,jsp,weblogic,frameset,Jsp,Weblogic,Frameset,我有一个简单的代码: <%@ page import="java.io.*"%> <%@ page import="java.util.Properties"%> <!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <title>Vijay's TEst</title> </head> <fra

我有一个简单的代码:

<%@ page import="java.io.*"%>
<%@ page import="java.util.Properties"%>
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Vijay's TEst</title>
</head>
<frameset rows="17%,*">
<frame name="header" src="test_headers.jsp" scrolling="no" noresize frameborder="0" />
</frameset>
</html>
但问题是,当我在weblogic中编译和运行这个jsp时,发现了一个错误404


请帮我解决这个问题。

假设运行的jsp是Test.jsp

Test.jsp的位置-WebContent

test_headers.jsp的位置-WebContent

那么这是有效的

<frame name="header" src="test_headers.jsp" scrolling="no" />
Test.jsp的位置-WebContent

test_headers.jsp的位置-WebContent/jsp

那么这是有效的

<frame name="header" src="/jsp/test_headers.jsp" scrolling="no" />

您有test_headers.jsp文件吗?你能直接试试吗?我的测试你运行了吗?从浏览器?是的,何塞。。我从浏览器上运行它。主jsp编译没有问题……但不知何故,中提到的jsp没有被拾取&我得到错误404 not found。