预览模式: 普通 | 列表
09-01
22

09年即将流行的语录


    1.80后的重要任务是制造08后。
    2.事实证明,感情经得起风雨,却经不起平淡;友情经得起平淡,却经不起风雨。
    3.人家有的是背景,而我有的只是背影~~。
    4.是金子总要发光的,但当满地都是金子的时候,我自己也不知道自己是哪颗了。
    6.我不是广场上算卦的,唠不出那么多你爱听的嗑。
    7.不是故事的结局不够好,而是我们对故事的要求过多!
    8.爱情就像两个拉橡皮筋的人,受伤的总是不愿放手的那个。
    9.鲜花往往不属于赏花的人,而属于牛粪。

查看更多...

Tags: 语录

分类:IT | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 377
09-01
22

居中

容器本身居中用: margin-left:auto;margin-right:auto;

容器里面的内容居中用: align:center;

Tags: CSS

分类:Css&Ps | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 342
09-01
21

那只是梦

     我又梦见了雪,满天的飘雪,为什么还在拼命的寻找,真真切切的失落和无助。转眼一冬要过去了。

查看更多...

Tags:

分类:生活 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 343

reference: http://blog.csdn.net/qjyong/archive/2008/11/16/3311688.aspx

能解决这个问题还真是要感谢 http://blog.csdn.net/qjyong/archive/2008/11/16/3311688.aspx这篇文章的作者qjyong。参照他的方法我在SSH中完成了不同方法验证需求不同的操作。

1. 自定义的FileChecks类。这里对qjyong的FileChecks稍微做了一下改动。应该使用SSH框架以后,使用的Action都写成org.springframework.web.struts.DelegatingActionProxy。所以在这种情况下Class.forName(className).newInstance() instanceof DispatchAction永远都为false.下面只把改动的代码注释出来,其它的都参考qjyong的。

查看更多...

Tags: Validator

分类:学习 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 426
Tomcat 6, java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.InvokerServlet is privileged and cannot b

<Context reloadable="true" privileged="true">

The invoker servlet lets you run servlets without first making changes to your Web application's deployment descriptor (i.e., the WEB-INF/web.xml file). Instead, you just drop your servlet into WEB-INF/classes and use the URL http://host/servlet/ServletName (or http://host/webAppName/servlet/ServletName once you start using your own Web applications. The invoker servlet is extremely convenient when you are learning and even when you are testing things doing your initial development. You almost certainly want to enable it when learning, but you should disable it again before deploying any real applications.

To enable the invoker servlet, uncomment the following servlet and servlet-mapping elements in install_dir/conf/web.xml. Do not confuse this Apache Tomcat-specific web.xml file with the standard one that goes in the WEB-INF directory of each Web application.

<servlet>

查看更多...

Tags: Tomcat 6

分类:学习 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 847
Filter of class org.apache.catalina.ssi.SSIFilter is privileged and cannot be loaded by this web application

tomcat版本5.X
1、将tomcat 的server\lib目录下servlets-ssi.renametojar文件重命名为servlets-ssi.jar。

      2、修改tomcat的 conf目录下web.xml文件,找到如下代码:

   /*
      <servlet>

查看更多...

Tags: TOMCAT

分类:学习 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 761