<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">
<title>1</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">
-->
<script type="text/javascript" src="js/swfobject.js"></script>
</head>
<body bgcolor="#000000" topmargin="0" bottommargin="0" leftmargin="230">
<div id="flashcontent"><font></font></div>
<script language="JavaScript" type="text/javascript">
// <![CDATA[
var so = new SWFObject("http://localhost:1101/1/WebRoot/images/main.swf", "main", "900", "600", "9", "#000000");
so.addParam("wmode", "opaque");
so.addParam("scale", "noscale");
so.write("flashcontent");
// ]]>
function tests()
{
location.reload();
}
</script>
</body>
</html>
flash显现不出来,请教了