Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Java EE 综合讨论区  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 我在自己机子上面安装的blog(用Java实现)
JPerson





发贴: 3
积分: 0
于 2003-11-18 23:38 user profilesend a private message to usersend email to JPersonsearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
我的环境是:
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

---------

(缩略图,点击图片链接看原图)




话题树型展开
人气 标题 作者 字数 发贴时间
4116 我在自己机子上面安装的blog(用Java实现) JPerson 1812 2003-11-18 23:38
3052 Re:我在自己机子上面安装的blog(用Java实现) RollingWoods 10 2003-11-18 23:48
3106 Re:我在自己机子上面安装的blog(用Java实现) mefaint 5 2003-11-19 01:24
3128 Re:我在自己机子上面安装的blog(用Java实现) mefaint 12 2003-11-19 22:48

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   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