Topic: 我在自己机子上面安装的blog(用Java实现) |
Print this page |
1.我在自己机子上面安装的blog(用Java实现) | Copy to clipboard |
Posted by: JPerson Posted on: 2003-11-18 23:38 我的环境是: winxp+sp1 Apache 2.0.48 Tomcat 5.0.14 J2SE1.4.2 blog: pebble (可以去:http://sourceforge.net/projects/pebble/下载) blog的安装和说明主要看看他的帮助文件就可以了。我把我的配置文件贴出来, 主要是修改两个文件,一个是WEB-INF/lib的web.xml,一个是在你的放置blog数据 (xml文件)的目录下自建的一个blog.propertise文件。 web.xml,我只贴我修改过的,大家可以参考原始的对照: ----------------- <display-name>blog</display-name> <description>willian's blog</description> <!-- set the value of this parameter to the directory containing the blog.pr operties file --> <context-param> <param-name>blog.dir</param-name> <param-value>E:\Mine\blog</param-value> </context-param> <!-- set the value of this parameter to the name of the role that has admin access --> <context-param> <param-name>blog.owner</param-name> <param-value>willian zhao</param-value> </context-param> ------------------ blog.properties,可以根据说明文件中的模板创建: ------------------ # the core blog properties # name, author, description and url are all mandatory # timeZone is optional, and defaults to Europe/London # lanugage (two letter ISO code) is optional, and defaults to en # country (two letter ISO code) is optional, and defaults to GB # daysOnHomePage is optional, and defaults to 3 name=willian's blog author=willian zhao description=willian zhao home url=http://localhost:8081/pebble-1.3/ timeZone=Asia/Beijing language=zh country=CN daysOnHomePage=7 # theme is optional and defaults to default theme=default # pingWeblogs (for pinging weblogs.com on new posts) is optional and default s to false pingWeblogs=false # these are the properties related to e-mail notifications # email, smtpHost and notifications are all optional email=you@email.net smtpHost=smtp.youmail.com notifications=true --------- (缩略图,点击图片链接看原图) |
2.Re:我在自己机子上面安装的blog(用Java实现) [Re: JPerson] | Copy to clipboard |
Posted by: RollingWoods Posted on: 2003-11-18 23:48 hehe,不错。 |
3.Re:我在自己机子上面安装的blog(用Java实现) [Re: JPerson] | Copy to clipboard |
Posted by: mefaint Posted on: 2003-11-19 01:24 good! |
4.Re:我在自己机子上面安装的blog(用Java实现) [Re: JPerson] | Copy to clipboard |
Posted by: mefaint Posted on: 2003-11-19 22:48 怎么才能解决中文问题呢? |
Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1 客服电话 18559299278 客服信箱 714923@qq.com 客服QQ 714923 |