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>
<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>
解决方案 »
- Spring如何在service控制事务
- (Tomcat6.0)http://localhost:8080无法访问
- java.lang.NoSuchMethodError 请各位大虾帮忙
- 如何打开pdf文件??? 在线等...
- Struts 如何禁止在地址栏中直接访问JSP页面
- 求助!运行jsp页面报下面异常,大家帮忙看看,谢!!
- 当vector为空的时候,我去取vector的值就会发生异常,这时候我怎么去判断vector里有没有值,在线急!!!
- 为什么代码中的汉字 显示出来是乱码?在线等!
- 解决立刻给分!!
- 程序中用到的javax.servlet.jsp.tagext.TagSupport找不到怎么办
- 简单问题,答对马上给分!!!!!!!!!!!
- 配置tomcat4.1.18+sql server2000的数据库连接池问题,急急急!
window.location.href="http://127.0.0.1/myPck/myServlet";
//-->
</script>
response.setContentType(CONTENT_TYPE);
InformationClient client = new InformationClient();
InformationRemote tempRm = null;
Collection allInformation = client.findAllInformation(); Iterator i = allInformation.iterator();
PrintWriter out = response.getWriter();
out.println("<HTML>");
out.println("<HEAD>");
out.println("<TITLE>myPage");
out.println("</TITLE>");
out.println("</HEAD>");
out.println("<BODY BACKGROUND = \"picture/background.gif\">");//
out.println("555");
out.println("<CENTER>"); while (i.hasNext()) {
tempRm = (InformationRemote) i.next();
String pubDate = tempRm.getPublicationDate().toString();
out.println("<P><A HREF = \"XXX.JSP?subject = " + tempRm.getSubject() +"\" TARGET = \"DetailFrame\">" + pubDate.substring(0,10) + " <H3>" + tempRm.getSubject() + "</H3></A></P>");
}
out.println("</CENTER>");
out.println("</BODY>");
out.println("</HTML>"); }其中out.println("<BODY BACKGROUND = \"picture/background.gif\">");制定了输出叶面的背景图案,但结果没有背景,怎么办?
至于没有背影是不是你的路径问题? 换成绝对的路径或是../picture/background.gif(我想你的目录结构应该是这种)
<jsp:param name="xxx" value="yyyy"/>
<jsp:param name="aaa" value="bbb"/>
</jsp:forward>