
プログラミング初心者です。
プログラミング初心者です。
jspの昇順、降順がうまくいきません。ソースをのせるのでわかる方教えてください。お願いします。
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="http://struts.apache.org/tags-html"prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%!
String type[] ={"管理","一般"};
String comm[] ={"","電話","メール","ハガキ"};
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html lang="true" xhtml="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Customer/User Maintenance</title>
<style type="text/css">
body{background:lightyellow; color:#00667B; text-align:center;}
div#menu{color:#B36B00;}
div#reading{font-size:8pt; color:#FFAC59:}
p#list{text-align:left;}
table{margin:auto; font-size:12pt;}
th{background:#00667B; color:ivory; height:20px; font-size:14pt;}
th#uid{width:30px;}
th#name{width:100px;}
th#type{width:50px;}
th#address{width:250px;}
th#phone{width:100px;}
th#mail{width:180px;}
th#exp{width:100px;}
th#comm{width:60px;}
th#update{}
td{text-align:left; font-size:12pt; height:40px; vertical-align:top; border-bottom:dotted 2px #00667B;}
td#uid{text-align:center;}
td#price{text-align:right;}
td#order{text-align:center;}
td#update{text-align:center; vertial-align:middle;}
a:link{color:pink; font-size:8pt;}
a:visited{color:pink; font-size:8pt;}
a:hover{color:pink; font-size:8pt;}
a:norm:link{color:blue; font-size:12pt;}
a:norm:visited{color:blue; font-size:12pt;}
a:norm:hover{color:blue; font-size:12pt;}
</style>
</head>
<body>
<h1>カスタマー・ユーザーメンテナンス</h1>
<table>
<tr>
<th id="uid">ID<html:link href="CustomerAction.do?order=cst_id&direc=ASC">▲</html:link></th>
<th id="name"><html:link href="CustomerAction.do?order=name_reading&direc=ASC">▲</html:link>
名前<html:link href="CustomerAction.do?order=name_reading&direc=DESC">▼
投稿日時 - 2010-09-07 12:21:24
このQ&Aは役に立ちましたか?
3人が「このQ&Aが役に立った」と投票しています