6struts2标签–sort(排序)
package com.tag;
import java.util.Comparator;
public class MyComparator implements Comparator{
public int compare(Objec[......]
package com.tag;
import java.util.Comparator;
public class MyComparator implements Comparator{
public int compare(Objec[......]
用过struts1.x的人都知道,标签库有html、bean、logic、tiles,
而struts2.0里的标签却没有分类,只用在jsp头文件加上
<%@ taglib prefix=”s” uri=”/struts-tags” %>
就[......]
String[] str0 = new String[]{“abd”,”ervcd”,”sdfc”,”abdc”,”sded”,”生活”,”文教”,”政治”};
String[] str1 = new String[]{“生活”,”文教”,”政治”,”自然”[......]
本文属于http://java.chinaitlab.com/base/803353.html原创!!!
[java] view plaincopy
public class PinYin2Abbreviation {
// 简体中文的编码范围从B0A1(4[......]
摘要: CentOS 7的yum源中貌似没有正常安装mysql时的mysql-sever文件,需要去官网上下载 # wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch…
Ce[......]
mysql 5.6 my.cnf 配置.
本配置文件针对Dell R710,双至强E5620、16G内存的硬件配置。CentOS 5.6 64位系统,MySQL 5.5.x 稳定版。适用于日IP 50-100w,PV 100-300w的站点,主要使用InnoDB存储引擎。其他应用环境请根据实际[......]
Mac OS X中MySQL的配置文件(my.cnf)的位置
摘要:
Mac OS X中MySQL 的配置文件(my.cnf)的位置
在Mac OS X 中默认是没有my.cnf 文件,如果需要对MySql 进行定制,拷贝以下目录中任意一个.cnf 文件。
笔者拷贝my-medi[......]
linux上默认这几个位置:
/etc/my.cnf
/etc/mysql/my.cnf
/usr/etc/my.cnf[......]
CentOS7下让MySQL支持中文
MySQL 4.1及更高版本中,字符集的支持(Character Set Support)有两个方面:字符集(Character set)和排序方式(Collation)。对于字符集的支持细化到四个层次: 服务器(server),数据库(database)[......]
用户+角色+权限javaweb实现
————————————————————————————
权限控制表设计(用户+角色+权限)
大概有这几种模式:[......]