zt: http://www.cnblogs.com/zealic/archive/2007/03/10/669849.html
用 BAT 注册 Subversion 服务
将 Subversion 安装为服务很麻烦
于是就写了个Bat处理文件,简化操作。
不想,想实现一个功能的时候,卡壳了。
想将一个程序的输出设置到某个变量中,结果弄了半天也无法实现
退而求其次之,将文件内容读入变量中,不想也是很复杂,也查到了一些处理方法。
不过,这些处理方法太变态了,我吐血三升才看明白大部分代码。
如何将文件的内容读入变量,看这里。
下面是如何安装 Subversion 为服务的批处 ...
http://www.ibm.com/developerworks/cn/websphere/techjournal/0606_singh/0606_singh.html
创建本文加密部分中使用的下列密钥存储库。您可以运行文件 createKeysForEncryption.bat 来创建这些密钥存储库,或者如果您不打算创建自己的文件,可以使用下载文件中包含的文件。
创建一个密钥存储库来存储 Alice 的私钥:keytool -genkey -v -alias alice -keypass senderkeys -ksenderkeys.jks -storepass
senderke ...
Step 1: Configure the JavaMailSenderImpl
The first step is to setup a MailSender for the PositionManager. To do this, you need to configure a JavaMailSenderImpl with a host or a session. For a host, it's rather simple. Add the following to your applicationContext.xml file:
<bean id="mailSender" ...
http://www.ibm.com/developerworks/cn/websphere/techjournal/0801_shillington/0801_shillington.html
搭上 WebSphere 快车,第 1 部分: 将 Ruby on Rails 与 WebSphere Application Server 结合使用,在保证安全性、可伸缩性和可靠性的情况下进行快速开发
级别: 中级
Ryan Shillington (shillington@us.ibm.com), 软件工程师, IBM
2008 年 5 月 15 日
这篇入门文章将说明如何在 I ...
- 21:20
- 浏览 (99)
- 评论 (0)
1. in a jsp file use your component:
<p>
<ww:component template="datefield.vm">
<ww:param name="label" value="'Date'" />
<ww:param name="name" value="'mydatefield'" />
<ww:param name="size" value="3" />
</ww:component>
</p>
2. create your component vm file datefield.vm in sr ...
Azi: http://azi.javaeye.com/blog/189764
下面给出得Log4J配置文件实现了输出到控制台,文件,回滚文件,发送日志邮件,输出到数据库日志表,自定义标签等全套功能。
log4j.rootLogger=DEBUG,CONSOLE,A1,im
#DEBUG,CONSOLE,FILE,ROLLING_FILE,MAIL,DATABASE
log4j.addivity.org.apache=true
###################
# Console Appender
###################
log4j.appender.CONS ...
- 08:15
- 浏览 (89)
- 评论 (0)
1. create a bean to implements the ServletContextAware, and spring will automatically set the servletContext:
public class ApplicationScopeObjectSettings implements ServletContextAware {
ServletContext servletContext;
public void setServletContext(ServletContext servletContext) {
t ...
Source URL: http://java.dzone.com/tips/pathway-acegi-spring-security- Published on Javalobby (http://java.dzone.com)
Pathway from ACEGI to Spring Security 2.0
By Chris.Baker
Created 2008/04/22 - 9:44am
Formerly called ACEGI Security for Spring, the re-branded Spring Security 2.0 has deli ...







评论排行榜