动作类似于下面,但不一样:
onLoad = "http://127.0.0.1/myPck/myServlet"
html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<meta http-equiv="refresh" content="0;URL=http://127.0.0.1/myPck/myServlet">
</head>
<script language="javascript"><!--
window.location.href="http://127.0.0.1/myPck/myServlet";
//-->
</script>
如果你上面的("<TITLE>myPage出现了说明你的servlet已经执行了,
至于没有背影是不是你的路径问题? 换成绝对的路径或是../picture/background.gif(我想你的目录结构应该是这种)
如果用jsp的话,这样作:
<jsp:forward page="your_url">
<jsp:param name="xxx" value="yyyy"/>
<jsp:param name="aaa" value="bbb"/>
</jsp:forward>