开发者

jsp in a html frameset not compiled : weblogic

开发者 https://www.devze.com 2023-04-02 03:36 出处:网络
I have this simple code : <%@ page import=\"java.io.*\"%> <%@ page import=\"java.util.Properties\"%>

I have this simple code :

<%@ 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开发者_StackOverflow="header" src="test_headers.jsp" scrolling="no" noresize frameborder="0" />
</frameset>
</html>

But the problem is I get a Error 404--Not Found when I compile & run this jsp in weblogic.

Please help me with this.


Lets say the jsp which is run is Test.jsp .

Location of Test.jsp -- WebContent

Location of test_headers.jsp -- WebContent

Then this is valid.

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

Location of Test.jsp -- WebContent

Location of test_headers.jsp -- WebContent/jsp

Then this is valid

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

精彩评论

暂无评论...
验证码 换一张
取 消