`
oyzm521
  • 浏览: 76930 次
  • 性别: Icon_minigender_1
  • 来自: 湖南
文章分类
社区版块
存档分类
最新评论
文章列表
  String[] arg1   String[] str = (String[]) arg1;    String firstValue = str[0];     // 分割字符串的类    StringTokenizer st = new StringTokenizer(firstValue, ",");      char[] codeUnits = Character.toChars(value);    char value1 = (char) Integer.parseInt(args[0], 16); char value2 = (cha ...
    function initAjax() {              jQuery.ajaxSetup({                  timeout: 10000,                              cache: false              });              $(document.body).ajaxComplete(function(event, request, ajaxOption, state){                         if(!Comm.browser.isIE  && ...
http://today.java.net/article/2011/04/17/using-spring%E2%80%99s-aop-features-java-ee
1. http://forums.sun.com 2. http://www.codeguru.com/forum/forumdisplay.php?f=5 3.http://www.javaworld.com/community/javaqa 4. http://www.coderanch.com/forums 5.http://forums.java.net/ 6.http://www.javalobby.org/java/forums/c5601.html" 7.http://www.java-forums.org/ 8.http://supportforums. ...
List dataList = VirtualDataGenerator.getVirtualResult();            // 节点列表(散列表,用于临时存储节点对象)     HashMap nodeList = new HashMap();     // 根节点     Node root = null;     // 根据结果集构造节点列表(存入散列表)     for (Iterator it = dataList.iterator(); it.hasNext();) {      Map dataRecord = (Map) it.next();     ...
Java replaceFirst private static String strUtil(String str)     {         String newStr2 = "";         if (null != str)         {             String []newStr = str.split(",");             for (int i=0; i<newStr.length; i++)             {                 newStr2 = newStr2 + &q ...
struts.xml<constant name="struts.custom.i18n.resources" value="globalmessages" /> private String key;         public String getKey()     {         return key;     }         public void setKey(String key)     {         this.key = key;     }         /**      * 设置语言场景     ...
private Properties getGlobalMessagepoperties(String locale)     {         loggerManager.addLog(LogLevel.INFO.toString(), PropertieZhLogTools.getInstance().getStringVal("i18nAction.getGlobalMessagepoperties.start"), LogLanguage.ZH_CN);         loggerManager.addLog(LogLevel.INFO.toString(), ...
@Override     public ExistedSystem getExistedSystemByName(String existedSystemName)     {         String hql = "select * from tbl_existed_system where name = {0}";         final String formathql = MessageFormat.format(hql, "'" + existedSystemName + "'");         ExistedS ...
  @Override     public List<ForecastModelScenario> queryForecastModelScenario(SearchBean[] searchBeans, int start, int limit)     {         DetachedCriteria criteria = SearchFactory.generateCriteria(ScenarioPlan.class, searchBeans);         return getHibernateTemplate().findByCriteria(criteria, ...
create or replace procedure PRO_BUILDTMPTABLE(p_table in varchar,p_sql in varchar,p_type in number) is /**    创建会话临时表     @author lnj     date 2012-3-2 参数说明    p_table   表名    p_sql    创建字段    p_type   创建临时表的类型 **/ v_sql varchar(1000); begin      if p_type =1 then   v_sql:='CREATE GLOBAL TEMPORARY ...
package com.duty.util; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts2.components.Component; import org.apache.struts2.views.jsp.ComponentTagSupport; import com.opensymphony.xwork2.util.ValueStack; public class PageTag extends ...
<?xml version="1.0" encoding="UTF-8"?>  <!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"                              "http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">      <taglib>               <tlib ...
Global site tag (gtag.js) - Google Analytics