`
文章列表
其实很简单,搞一个文本文档,保存为reg 后缀名 看两个例子吧: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\e] "CLSID2"=-  这个是删除一个值,注意最后那个“-”号 Windows Registry Editor Version 5.00 [-HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\SystemCertificates\SPC\Certificates] [-HKEY_LOCAL_M ...
摘自:http://hujin.iteye.com/blog/387066 好久没有发表文章了,自己都没有访问自己的JAVAEYE,总算空闲了,可以总结下以前项目自己觉得学到的一点好东西给大家了。这篇文章要讲的是jiffie,可能很多搞JAVA的对这个东西不是很熟悉, ...
response.setHeader("P3P","CP=\"CURa ADMa DEVa PSAo PSDo OUR BUS UNI PUR INT DEM STA PRE COM NAV OTC NOI DSP COR\""); 加上这句话就可以了 (转的,没试过。)
http://blog.csdn.net/chinalinuxzend/archive/2007/09/13/1783020.aspx
http://blog.csdn.net/yafeikf/archive/2009/03/06/3959474.aspx
1.下载 cd /tmp wget http://www.zdziarski.com/projects/mod_evasive/mod_evasive_1.10.1.tar.gz tar zxf mod_evasive_1.10.1.tar.gz 2.安装 cd mod_evasive /usr/local/apache2/bin/apxs -i -a -c mod_dosevasive20.c 3.配置 vi /usr/local/apache2/conf/httpd.conf 添加下面内容 LoadModule dosevasive20_module l ...
struts1.2 struts1.3 struts2.0 hibernate3 spring2 velocity lucene3 mina2 james2.3 c3p0 9 log4j dwr2 jinvoke JNative jna xmlgui1.0 regain1.7 httpclient3.1 poi3.7 pdfbox1.3 paoding-analysis-2[1].0.4 IKAnalyzer3[1].1.6GA_AllInOne ImageJ1.4 jcifs-1[1].3.15 局域网访问 Axis jmail1.4 mozswing HanYuPinYin java ope ...
http://www.cnblogs.com/cuihongyu3503319/archive/2008/12/11/1352830.html
apache 模块开发之输出过滤器 http://andrew913.iteye.com/blog/399025 用shtml来include网页文件(须开启SSI) http://www.cnblogs.com/riky/archive/2009/01/19/1378166.html Apache SSI 教程 http://sq1228.iteye.com/blog/192980 Tomcat 的过滤诀窍 http://www.cnblogs.com/jebit/articles/4888.html 输出过滤与替换
web.xml <!-- 主页 --> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> </welcome-file-list> <!-- 用户请求动作servlet --> <servlet> <servlet-name>baseAction</servlet- ...
/** * 请求包 * @author RuiLin.Xie - xKF24276 */ public class RequestPackage { /** servlet biz 名称 **/ private String action; /** 参数 **/ private HashMap<String, String> parameter = new HashMap<String, String>(); /** 请求 **/ private HttpServletRequest request; /* ...
/** * 用户请求动作 * @author RuiLin.Xie - xKF24276 */ public class BaseAction extends HttpServlet { /** * 序列号 */ private static final long serialVersionUID = 1L; /** * 处理Get */ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, I ...
/** * 伪静态Servlet业务工厂 * @author RuiLin.Xie - xKF24276 */ public class ActionBizFactory { //单例 private static ActionBizFactory actionBizFactory = new ActionBizFactory(); //Action键值对 private static HashMap<String, String> actionMap = new HashMap<String, String>(); //私 ...
/** * 过滤样式文件,防止被非法下载 * (通过抓包工具(如:HttpWatch)可以破解该方法) * @author RuiLin.Xie - xKF24276 * */ public class StyleFilter implements Filter { public void destroy() { } /** * 过滤样式文件,防止被非法下载 * (通过抓包工具(如:HttpWatch)可以破解该方法) */ public void doFilter(ServletRequest arg0, S ...
servlet中获得项目绝对路径    String filePath=this.getServletConfig().getServletContext().getRealPath("/");    根目录所对应的绝对路径:request.getServletPath();       文件的绝对路径 :request.getSession().getServletContext().getRealPath(request.getRequestURI())      当前web应用的绝对路径 :servletConfig.getServletContex ...
Global site tag (gtag.js) - Google Analytics