对了,我还不想用STRUTS的FORM,呵呵
解决方案 »
- 从mysql数据库取数据到jsp页面 显示乱码
- 根据一个http网址获取里面的视频地址以及在本地显示
- java json的数组存放到缓存中 php调用问题
- 请问这个SQL怎么改成exists的
- org.hibernate.exception.SQLGrammarException (急)
- lucene对数据库索引,索引文件庞大吗?
- 用CMP往数据库插数据的小问题!!送分!
- struts <html:button>标签问题(急!!!!)
- 关于tomcat4.0启动的问题...现在郁闷ing..求大家帮帮忙
- 一个很急很纳闷的问题:关于使用struts1.1的switchaction的问题,用过的高手们请进来指点一下。谢谢。
- 请求帮助!
- 高手指教关于spring在web程序下的配置及配置文件的命名放置
<%@ page language="java" contentType="text/html; charset=GB18030"
pageEncoding="GB18030"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="pageStyle.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=GB18030">
<title>Online Publication Management System</title>
</head>
<body>
<%@ include file="pageFrame.jsp" %>
<div id="content">
<h2>Author List</h2>
<c:if test="${authorPageNumber == null}">
<c:set var="authorPageNumber" value="0"/>
</c:if>
<html:form action="/AuthorOperation">
<c:forEach var="author" items="${pagingAuthors[authorPageNumber]}">
<c:url value="AuthorOperation.do" var="authorDetailURL">
<c:param name="authorId" value="${author.id}"/>
<c:param name="read" value="read"/>
</c:url>
<a href='<c:out value="${authorDetailURL}"/>'> <c:out value="${author.firstname}"/> <c:out value="${author.middlename}"/> <c:out value="${author.surname}"/></a>
<div align=right><html:checkbox property="authorIds" value="${author.id}"/></div>
</c:forEach>
<table><tr>
<td><html:submit property="delete" value="Delete Authors"></html:submit></td>
<td><html:submit property="create" value="Create Author"></html:submit></td>
</tr></table>
</html:form>
<html:form action="AuthorManagement">
<table><tr>
<td><html:text property="keyword"/></td>
<td><html:submit property="search" value="Search Authors"/></td>
</tr></table>
</html:form>
<c:if test="${numberOfAuthorPages > 1}">
<
<c:forEach var="i" begin="1" end="${numberOfAuthorPages}">
<c:url value="/AuthorManagement.do" var="authorListURL">
<c:param name="authorPageNumber" value="${i-1}"/>
</c:url>
<c:if test="${i - 1 != authorPageNumber}">
<a href='<c:out value="${authorListURL}"/>'><c:out value="${i}"/></a>
</c:if>
<c:if test="${i - 1 == authorPageNumber}">
<c:out value="${i}"/>
</c:if>
<c:if test="${i != numberOfAuthorPages}">|</c:if>
</c:forEach>
>
</c:if>
</div>
</body>
</html>