用MyEclipse做了一个网页,用浏览器打开时图片就显示不了,求解
老师叫我们做一个新闻发布系统的简单网页,先用Dreamware做好一个框架,然后把代码复制到MyEclipse上,弄好以后我想在网页上看下效果,结果图片显示不了,代码如下...
老师叫我们做一个新闻发布系统的简单网页,先用Dreamware做好一个框架,然后把代码复制到MyEclipse上,弄好以后我想在网页上看下效果,结果图片显示不了,代码如下
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<frameset rows="104,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="file:///G|/新闻发布系统/新闻发布系统前端Top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frameset rows="*" cols="146,*" framespacing="0" frameborder="yes" border="0">
<frame src="file:///G|/新闻发布系统/新闻发布系统前端Left.html" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
<frame src="file:///G|/新闻发布系统/新闻发布系统前端Right.html" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
</frameset>
</html> 展开
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
<base href="<%=basePath%>">
<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>
<frameset rows="104,*" cols="*" frameborder="no" border="0" framespacing="0">
<frame src="file:///G|/新闻发布系统/新闻发布系统前端Top.html" name="topFrame" scrolling="No" noresize="noresize" id="topFrame" title="topFrame" />
<frameset rows="*" cols="146,*" framespacing="0" frameborder="yes" border="0">
<frame src="file:///G|/新闻发布系统/新闻发布系统前端Left.html" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
<frame src="file:///G|/新闻发布系统/新闻发布系统前端Right.html" name="mainFrame" id="mainFrame" title="mainFrame" />
</frameset>
</frameset>
</html> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询