<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[yaa2004的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/yaa2004</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; yaa2004]]></copyright><item><title><![CDATA[网页预览组件]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/128727243</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/128727243</guid><author>yaa2004</author><pubDate>Fri, 23 Aug 2024 14:14:17 +0800</pubDate><description><![CDATA[-html渲染插件-->word文档模板引擎。]]></description><category></category></item><item><title><![CDATA[动态调用微服务]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/132851818</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/132851818</guid><author>yaa2004</author><pubDate>Wed, 13 Sep 2023 14:00:27 +0800</pubDate><description><![CDATA[DynamicClient 提供了两个方法 get 和 post。]]></description><category></category></item><item><title><![CDATA[UNRAR 命令解压失败]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/132537105</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/132537105</guid><author>yaa2004</author><pubDate>Mon, 28 Aug 2023 13:49:45 +0800</pubDate><description><![CDATA[单位命令在linux下执行没有问题，开始以为是java的jar的权限问题，后来发现不是，经过一番查找，命令修改为 unrar x /tmp/xxx.rar /tmp/xxx/ 执行成功。由于项目要求需要对不同的压缩包进行解压，在处理rar的时候，为了兼容rar高低版本使用了第三方组件。是通过java，生成执行命令，然后再执行。]]></description><category></category></item><item><title><![CDATA[java 动态执行js，返回json]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/131060507</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/131060507</guid><author>yaa2004</author><pubDate>Tue, 06 Jun 2023 09:14:11 +0800</pubDate><description><![CDATA[return v;}";//定义数学函数//取得调用接口//定义加法函数。]]></description><category></category></item><item><title><![CDATA[cas 使用 http协议]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/70239883</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/70239883</guid><author>yaa2004</author><pubDate>Wed, 19 Apr 2017 14:28:37 +0800</pubDate><description><![CDATA[1、修改WEB-INF\deployerConfigContext.xml，加入



p:requireSecure="false"    


2、修改WEB-INF\spring-configuration\ticketGrantingTicketCookieGenerator.xml，修改p:cookieSecure="false"







bean i]]></description><category></category></item><item><title><![CDATA[mybatis 一对多关系 list 的返回]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/50581005</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/50581005</guid><author>yaa2004</author><pubDate>Mon, 25 Jan 2016 16:21:10 +0800</pubDate><description><![CDATA[配置映射文件

    
      WARNING - @mbggenerated
    -->
 
    
    
    
    
    
    
  


  geItemsById" parameterType="String" resultType="com.xxx.model.Items">
    select * from  table]]></description><category></category></item><item><title><![CDATA[mybatis使用oracle序列]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/50580968</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/50580968</guid><author>yaa2004</author><pubDate>Mon, 25 Jan 2016 16:10:33 +0800</pubDate><description><![CDATA[@Table(name = "MAP_LIST")
public class MapList {
    @Id
    @Column(name = "ID")
@SequenceGenerator(name = "generator", sequenceName = "SEQ_TEST")
@GeneratedValue(strategy = GenerationType.SEQUE]]></description><category></category></item><item><title><![CDATA[struts2 发布到 weblogic]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4788957</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4788957</guid><author>yaa2004</author><pubDate>Mon, 09 Nov 2009 11:19:00 +0800</pubDate><description><![CDATA[struts2 发布到 weblogic上需要加入以下两个包velocity-tools-view-1.1.jar下载地址]]></description><category></category></item><item><title><![CDATA[  response.sendRedirect("login.jsp") 不起作用]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4771565</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4771565</guid><author>yaa2004</author><pubDate>Thu, 05 Nov 2009 14:05:00 +0800</pubDate><description><![CDATA[   response.sendRedirect("login.jsp");改成    request.getRequestDispatcher("login.jsp").forward(request, response);就可以了]]></description><category></category></item><item><title><![CDATA[xtree dwr (ajax)异步加载每个树结点的代码]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4765819</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4765819</guid><author>yaa2004</author><pubDate>Wed, 04 Nov 2009 09:26:00 +0800</pubDate><description><![CDATA[ tree.js function getRank(rankNum){ var rankName=""; switch(rankNum) {  case 1:   {    rankName="(普通会员)";    break;   }   case 2:   {    rankName="(一级会员)";    break;   }   case 3:   {    rankName=]]></description><category></category></item><item><title><![CDATA[sql 每组数据只取前几条数据的写法]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4732922</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4732922</guid><author>yaa2004</author><pubDate>Tue, 27 Oct 2009 12:14:00 +0800</pubDate><description><![CDATA[select *  from (select row_number() over(partition by t.type order by date desc) rn,               t.*          from 表名 t) where rn type要分的类date 排序rn 每类要显示几条数据]]></description><category></category></item><item><title><![CDATA[struts2 校验器——正则表达式校验器（regex）（内建校验器）]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4714152</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4714152</guid><author>yaa2004</author><pubDate>Thu, 22 Oct 2009 17:13:00 +0800</pubDate><description><![CDATA[正则表达式校验器的名称：regex，他检查被校验字段是否匹配一个正则表达式  参数： fieldName：该参数指定校验的action 属性名，如果采用字段校验风格，无须指定该参数； expression：可选，该参数指定匹配的正则表达式； caseSemsitive：可选，该参数指明进行正则表达式匹配时，是否区分大小写，默认true  采用非字段校验器]]></description><category></category></item><item><title><![CDATA[校验类型和配置方法说明]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4714078</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4714078</guid><author>yaa2004</author><pubDate>Thu, 22 Oct 2009 17:00:00 +0800</pubDate><description><![CDATA[从Struts2 校验框架在验证的场所上可以分为：客户端校验和服务端校验。    客户端校验是指，在HTML画面上自动生成JavaScript校验代码，在用户提交到服务器之前在客户端浏览器中进行校验。默认位客户端校验。    服务端校验是指，在数据提交到服务器上之后，在Action处理之前，对客户但提交的数据进行校验。 从Struts2校验框架的配置上可以分为：Java Annot]]></description><category></category></item><item><title><![CDATA[struts2.x 验证框架]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4713954</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4713954</guid><author>yaa2004</author><pubDate>Thu, 22 Oct 2009 16:38:00 +0800</pubDate><description><![CDATA[一、服务端验证　　下面将给出一个例子来演示如何使用Struts2的validation框架来进行服务端验证。我们可以按着如下四步来编写这个程序：　　【第1步】建立Action类(NewValidateAction.java)http://search.yesky.com/search?q=COM" search.yesky.com http:>dotted; TABLE-LAYOUT:]]></description><category></category></item><item><title><![CDATA[hibernate查询防止代码注入]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4708158</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4708158</guid><author>yaa2004</author><pubDate>Wed, 21 Oct 2009 13:27:00 +0800</pubDate><description><![CDATA[  不要使用hql字符串组装,使用传递参数方式操作  如  Object[] obj = { "400", " and 1=1 or 1=" };  getHibernateTemplate().find("select new User(status) from user t where t.status=? and services=?",        obj)或者g]]></description><category></category></item><item><title><![CDATA[hibernate 分页操作(防代码注入)]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4708142</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4708142</guid><author>yaa2004</author><pubDate>Wed, 21 Oct 2009 13:24:00 +0800</pubDate><description><![CDATA[新建一个page类public class Page { private int queryPage = 0; private int firstResult = 0; private int maxPageSize = 10; public Page(int queryPage) {  this.queryPage = queryPage >= 1 ? queryPage : 1]]></description><category></category></item><item><title><![CDATA[超级链接href,点击禁止使用URL转向]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4698594</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4698594</guid><author>yaa2004</author><pubDate>Mon, 19 Oct 2009 15:05:00 +0800</pubDate><description><![CDATA[ onclick="return false">]]></description><category></category></item><item><title><![CDATA[Struts2拦截器的原理与实现]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4658942</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4658942</guid><author>yaa2004</author><pubDate>Mon, 12 Oct 2009 16:16:00 +0800</pubDate><description><![CDATA[一、理解Struts2拦截器1. Struts2拦截器是在访问某个Action或Action的某个方法，字段之前或之后实施拦截，并且Struts2拦截器是可插拔的，拦截器是ＡＯＰ的一种实现．2. 拦截器栈（Interceptor Stack）。Struts2拦截器栈就是将拦截器按一定的顺序联结成一条链。在访问被拦截的方法或字段时，Struts2拦截器链中的拦截器就会按其之前定义的顺序被调用]]></description><category></category></item><item><title><![CDATA[STRUTS2.x 初始化相关的配置信息文件及struts.properties详解]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4658734</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4658734</guid><author>yaa2004</author><pubDate>Mon, 12 Oct 2009 15:45:00 +0800</pubDate><description><![CDATA[位于struts2-core.jar中Org.apache.struts2 default.properties ## $Id: default.properties 789467 2009-06-29 22:11:12Z musachy $## Licensed to the Apache Software Foundation (ASF) under one# or more co]]></description><category></category></item><item><title><![CDATA[STRUTS2.x 中的  系统提示中文化处理]]></title><link>https://blog.youkuaiyun.com/yaa2004/article/details/4658711</link><guid>https://blog.youkuaiyun.com/yaa2004/article/details/4658711</guid><author>yaa2004</author><pubDate>Mon, 12 Oct 2009 15:41:00 +0800</pubDate><description><![CDATA[在struts2-core中的struts-messages.properties中的文件全局的资源文件加入对应的中文struts.messages.invalid.token=The form has already been processed or no token was supplied, please try again.struts.internal.invalid.toke]]></description><category></category></item></channel></rss>