wiki系统(JAVA) 观察
最近想对于wiki系统的源代码研究下
jspwiki是一个不错的wiki引擎,纯jsp/servlet写的。JSPWiki不使用现成的数据库管理软件,所有的文件以文本文件的形式存放。它利用类似CVS的机制保证了文件版本的完整性。支持中文,支持版本比较、权限管理等功能!
项目主页: http://www.jspwiki.org/
文档地址: http://www.jspwiki.org/wiki/JSPWikiDocumentation
下载地址: http://www.jspwiki.org/wiki/JSPWikiDownload
于是对于wiki系统做了表明的观察:
主页:http://wiki.ppd.avermedia.com/PPDWiki/Wiki.jsp?page=Main
AVerportal :http://wiki.ppd.avermedia.com/PPDWiki/Wiki.jsp?page=AVerPortal
对于每个页面都是经过Wiki.jsp 通过参数page来辨认页面的
访问PM的mockup页面 http://wiki.ppd.avermedia.com/PPDWiki/Wiki.jsp?page=Weekly%20Mockup%20demo%20files
在其中下载文件的链接为可以看看URL的组织形式
http://wiki.ppd.avermedia.com/PPDWiki/attach/Weekly%20Mockup%20demo%20files/Forum_100122_v0.1.7z
相关文档:
import java.io.*;
public class FileReaderSample {
public static void main(String args[]) throws IOException
{
// 建立可容纳1024个字符的数组
char data[]=new char[1024];
// 建立对象fr
FileReader fr= ......
#dd_traces.pl (C) Marko Kivij?rvi 2006
# Dummy checks
die "Specify an input file!\n" if $ARGV[0] eq "";
die "File not found!\n" unless -e $ARGV[0];
die "Incorrect file extension for a C/C++ file!\n"
if ( $ARGV[0] !~ /(.*)\.(java)$/ );
# Constants
my $IMPORT_LOG_PACKAG = "\n ......
import java.io.*;
import java.lang.String;
public class Switchover {
public static String[] strChi = {"零","壹","贰","叁","肆","伍","陆","柒","捌","玖"};
public static String[] strUnits = {"","","拾","佰","仟","万","拾","佰","仟","亿","拾","佰","仟","兆","拾","佰","仟","角","分"};
//验证输 ......
/**
* @param source: source image file
* @param output: output image file
* @param mode: 0 ratio,1 maxWidth,2 maxHeight,3 maxSide
* @param maxSide: maxWidth, maxHeight or maxSide, different by mode
* @param ratio: ratio if resized by ratio
*/
public static void resizeImage(File ......