文章列表
http://java.fckeditor.net/
以上就是fckeditor的java文档.
http://java.fckeditor.net/java-core/apidocs/index.html
JAVA API
黑白两种颜色的皮块缝制而成的足球,黑色皮块是正五边形,白色皮块是正六边形, 若一个球上共有黑白皮块32块,那么黑色皮块 块,白色皮块 块
/**
* @author ChanceLai
*/
public static void main(String[] str) {
/**
* blackNum 代表黑色皮块的数量
* whiteNum 代表白色皮块的数量
* totalNum 代表两种皮块的总数
* totalBorder 代表两种皮块共有多少条边
*/
int blackNum = ...
create or replace procedure insert_duty_and_remark(datestr in varchar) is
--选择没有插入值班的用户
cursor cur is
select u.id from cmsuser u
where u.password is not null
and u.cmsroleid=2
and u.id not in (
select distinct c.ccid
from duty c
...
第一次写的存储过程值得留念
create or replace procedure dynamic_sql_duty(
attendmonth in varchar2,
sqlsstr out varchar2
) is
CURSOR cur is
select distinct t.ccid ccid,
nvl(lower(u.name),to_char('removed'||t.ccid)) name
from cmsuser u,duty t
wh ...
说明:转载自:http://www.blogjava.net/zzheng/archive/2008/09/05/227305.html
一、字符编码的过滤器
import javax.servlet.*;
import java.io.IOException;
/** *//**
* 用于设置 HTTP 请求字符编码的过滤器,通过过滤器参数encoding指明使用何种字符编码,用于处理Html Form请求参数的中文问题
*/
public class CharacterEncodingFilter
implements Filter
{
pro ...
[root@linux src]# service sendmail stopShutting down sendmail: [ OK ]Shutting down sm-client: [ OK ][root@linux src]# chkconfig --del sendmail[root@linux src]# mv /usr/lib/sendmail /usr/lib/sendmail.OFF[root@linux src]# ls /usr/ ...
select * from user uwhere ( u.username,u.password ) in ( select username,password from user group by username,password having count(*) > 1 )
-----------------------------------------
select p1.* from user p1,user p2where p1.id<>p2.id and p1.username = p2.username and p1.password =p2. ...
- 2009-10-31 01:48
- 浏览 915
- 评论(0)