开发者

jsp in a html frameset not compiled : weblogic

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜