未编译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。