<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3" -->
<rss version="0.92">
<channel>
	<title>Lotus教程、Java教程、Java虚拟机、Java软件综合开发社区</title>
	<link>http://www.softmobi.cn</link>
	<description>Lotus、Domino、Java、C#、Web、数据库综合开发教程、资料社区</description>
	<lastBuildDate>Mon, 07 May 2012 14:45:31 +0000</lastBuildDate>
	<docs>http://backend.userland.com/rss092</docs>
	<language>en</language>
	
	<item>
		<title>用批处理文件删除n天前的文件</title>
		<description><![CDATA[服务器用来备份数据的硬盘过段时间就会被备份文件占满，弄得我老是要登录到服务器去手工删除那些老的文件，有时忘记了就会导致硬盘空间不足而无法备份。
因为只要保留最近几天的备份，如果可以做一个批处理让系统自动删除老备份文件就好了，但是Windows的命令行和Linux的Shell比起来功能差了很多，到底行不行我自己也不清楚。
于是上网查了一下各位大虾发的帖子，再经过自己的摸索和尝试，发现只要花点功夫还是能实现这个功能的。
下面来看看我的实现方法。
如果操作系统是 Windows Server 2003  那就好办了，因为它有一个forfiles命令能够查找满足指定条件的文件，下面是这个命令的用法。
forfiles /p &#60;目标目录名&#62; /d  &#60;天数&#62; /c &#60;执行的命令&#62;
]]></description>
		<link>http://www.softmobi.cn/index.php/archives/window-bat-forfiles.html</link>
			</item>
	<item>
		<title>为ckeditor编辑器添加行距功能</title>
		<description><![CDATA[在选用ckeditor编辑器是，感觉缺少行距功能而遗憾，网上搜索资料零散，却很少有系统的例子，为此收集并整理，提供例子下载。为ckeditor编辑器添加行距功能]]></description>
		<link>http://www.softmobi.cn/index.php/archives/ckeditor-lineheight-js.html</link>
			</item>
	<item>
		<title>CKeditor加入中文字体</title>
		<description><![CDATA[CKeditor编辑时，字体选择里面没有中文字体。可以按如下方法添加：打开CKeditor目录里的config.js，在]]></description>
		<link>http://www.softmobi.cn/index.php/archives/js-ekeditor-font-name.html</link>
			</item>
	<item>
		<title>出现java.lang.IllegalArgumentException: id to load is required for loading的解决方法</title>
		<description><![CDATA[使用了hibernate进行关系映射的时候，比如有一对多的关系，一个测试项目对应多个测试用例模块，部分的关系映射表：
代码
&#60;many-to-one name=&#8221;testProject&#8221; class=&#8221;com.eyely.pojos.TestProject&#8221;&#62;
&#60;column name=&#8221;f_test_project_id&#8221; sql-type=&#8221;nvarchar2(32)&#8221; /&#62;
&#60;/many-to-one&#62;
&#60;set name=&#8221;testCaseModules&#8221; lazy=&#8221;true&#8221; inverse=&#8221;false&#8221;&#62;
&#60;key&#62;
&#60;column name=&#8221;f_test_project_id&#8221; sql-type=&#8221;nvarchar2(32)&#8221; /&#62;
&#60;/key&#62;
&#60;one-to-many class=&#8221;com.eyely.pojos.TestCaseModule&#8221;/&#62;
&#60;/set&#62;
相关Java文件：
]]></description>
		<link>http://www.softmobi.cn/index.php/archives/java-hibernate-illegalargumentexception.html</link>
			</item>
	<item>
		<title>MSSQL如何查看当前数据库的连接数</title>
		<description><![CDATA[1.通过系统的“性能”来查看：
开始-&#62;管理工具-&#62;性能（或者是运行里面输入 mmc）然后通过添加计数器添加 SQL 的常用统计然后在下面列出的项目里面选择用户连接就可以时时查询到数据库的连接数了。不过此方法的话需要有访问那台计算机的权限，就是要通过windows账户登陆进去才可以添加此计数器。
2.通过系统表来查询：
]]></description>
		<link>http://www.softmobi.cn/index.php/archives/database-mssql-connection.html</link>
			</item>
	<item>
		<title>JSTL标签对于Map集合的遍历，以及值得累加问题</title>
		<description><![CDATA[JSTL标签对于Map集合的遍历：
Java代码 

&#60;c:forEach items=&#8220;${shoppingCart}&#8221; var=&#8220;map&#8221;&#62;  
            &#60;tr&#62;  
                &#60;td&#62;${map.key}&#60;/td&#62;  
                &#60;td&#62;${map.value.number }&#60;/td&#62; [...]]]></description>
		<link>http://www.softmobi.cn/index.php/archives/jstl-webwork-struts-set.html</link>
			</item>
	<item>
		<title>如何查看ORACLE的版本?</title>
		<description><![CDATA[COL PRODUCT FORMAT A35    COL VERSION FORMAT A15
COL STATUS FORMAT A15
SELECT * FROM PRODUCT_COMPONENT_VERSION;
]]></description>
		<link>http://www.softmobi.cn/index.php/archives/oracle-plsql-version.html</link>
			</item>
	<item>
		<title>Deployment failure on Tomcat 6.x. Could not copy all resources to</title>
		<description><![CDATA[Deployment failure on Tomcat 6.x. Could not copy all resources to  C:\tomcat6\webapps\OAPMS. If a file is locked, you can wait until the lock times  out to redeploy, or stop the server and redeploy, or manually remove the  deployment at  C:\tomcat6\webapps\OAPMS
问题已解决，记得之前遇到过一次，但这次和前一次又不一样，解决办法：
1.  查看工程下的.mymetadata 看是否少了一个context-root=“”  属性，少的话，加上，值和前边的name属性一样，比如我的：
&#60;?xml version=&#8221;1.0&#8243;  encoding=&#8221;UTF-8&#8243;?&#62;
&#60;project-module
type=&#8221;WEB&#8221;
name=&#8221;OAPMS&#8221;
id=&#8221;myeclipse.1191910938406&#8243;
context-root=&#8221;/OAPMS&#8221;
j2ee-spec=&#8221;1.4&#8243;
archive=&#8221;OAPMS.war&#8221;&#62;
&#60;attributes&#62;
&#60;attribute name=&#8221;webrootdir&#8221; value=&#8221;WebRoot&#8221;  [...]]]></description>
		<link>http://www.softmobi.cn/index.php/archives/eclipse-deploy.html</link>
			</item>
	<item>
		<title>webwork(java.lang.NoClassDefFoundError:com/uwyn/rife/continuations/ContinuationConfig )</title>
		<description><![CDATA[java.lang.NoClassDefFoundError:     com/uwyn/rife/continuations/ContinuationConfig
com.opensymphony.webwork.dispatcher.mapper.ActionMapperFactory.getMapper(ActionMapperFactory.java:31)
com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:88)
javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
缺少rife-continuations.jar
]]></description>
		<link>http://www.softmobi.cn/index.php/archives/webwork-continuationconfig-continuations.html</link>
			</item>
	<item>
		<title>在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误</title>
		<description><![CDATA[在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from  required .class files错误&#8230;..,查找的解决办法如下:
一:
It is indirectly referenced from  required .class file原因：你正要使用的类调用了另一个类，而这个类又调用了其他类，这种关系可能会有好多层。而在这个调用的过程中，某个类所在的包的缺失就会造成以上那个错误。
解决方法：导入缺失的包
]]></description>
		<link>http://www.softmobi.cn/index.php/archives/java-eclipse-class-resolved.html</link>
			</item>
</channel>
</rss>

