作者归档:Quan

struts2标签–sort(排序)



6struts2标签–sort(排序)

package com.tag;

import java.util.Comparator;

public class MyComparator implements Comparator{

public int compare(Objec[......]

Read more

Struts2 按字母排序标签库



Struts2 按字母排序标签库

用过struts1.x的人都知道,标签库有html、bean、logic、tiles,
而struts2.0里的标签却没有分类,只用在jsp头文件加上
<%@ taglib prefix=”s” uri=”/struts-tags” %>
就[......]

Read more

mysql 5.6 my.cnf 配置

mysql 5.6 my.cnf 配置.

本配置文件针对Dell R710,双至强E5620、16G内存的硬件配置。CentOS 5.6 64位系统,MySQL 5.5.x 稳定版。适用于日IP 50-100w,PV 100-300w的站点,主要使用InnoDB存储引擎。其他应用环境请根据实际[......]

Read more

CentOS7下让MySQL支持中文

CentOS7下让MySQL支持中文

MySQL 4.1及更高版本中,字符集的支持(Character Set Support)有两个方面:字符集(Character set)和排序方式(Collation)。对于字符集的支持细化到四个层次: 服务器(server),数据库(database)[......]

Read more