js,jsp部分代码
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="config/config_SelfHelp.jsp"%>
<%@ include file="sh_Bookmark_Data.jsp"%>
<html xmlns:v>
<head>
<title>我的书签</title>
<style type="text/css">
table#border{
border-collapse: collapse;
border-top:#0076BE 1px solid;
border-left:#0076BE 1px solid;
}
table#border td{
border-bottom:#0076BE 1px solid;
border-right:#0076BE 1px solid;
}
a.button:link {
text-decoration: none;
color:black;
}
a.button:visited {
text-decoration: none;
color:black;
display:inline-block;
}
a.button:hover {
text-decoration: none;
display:inline-block;
color:black;
}
a.button:active {
text-decoration: none;
display:inline-block;
clear:both;
color:black;
}
v\:*{behavior:url(#default#VML)}
</style>
<script language="JavaScript" type="text/JavaScript">
function init()
{
test();
correctPNG();
document.body.background=bg_selfHelpRevelation;
}
function correctPNG()
{
for(var i=0; i<document.images.length; i++)
{
var img = document.images[i];
var imgName = img.src.toUpperCase();
if
相关文档:
JSP(Java Server Pages)是一种动态web资源的开发技术,servlet技术能完成的所有功能,使用JSP技术同样也可以完成。但在长期的软件实践中,根据servlet技术和JSP技术各自的特点,人们逐渐把servlet作为web应用中的控制器组件来使用,而把JSP技术作为数据显示模板来使用。
一、JSP ......
1、通过<s:form action="跳转页面">提交值,但是在<s:form>标签中的action后面至多只能跟一个参数,并且还会报警告,所以如果想传递参数可以用<s:hidden name="" values="username"></s:hidden>来传值,但是正规的写法需要配合<s:set>标签来用 如:
<s:set name="temp" value="动态值"&g ......
jsp页面调用 <link type="text/css" rel="stylesheet" href="css/style.css"/>样式表
其他样式都可以再页面正常显示
.button-qingchu{background:url(images/qingchu.jpg); width:70px; height:30px; border:0px;} 像这样的背景图片样式就显示不出图片是什么问题! Myeclipse 6.5
在html中都可以显示 在jsp中显示 ......
<html>
<head id="Head1" runat="server">
<title>无标题页 </title>
<script type="text/javascript">
function MultiSelector(list_target, max)
{
// Where to write the list
  ......
<jsp:directive.page import="zero.space.ch03.BookBean"/>
相当于
<%@ page import="zero.space.ch03.BookBean" %>
但是也有区别:两个用法的作用范围不同,<%@ page import="zero.space.ch03.BookBean" %> 可用于多个页面内而<jsp:dir ......