`
xwl1991
  • 浏览: 13620 次
  • 性别: Icon_minigender_1
  • 来自: 湖南
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
[仿写] http://www.ja-sig.org/downloads/cas/cas-server-3.1.1-release.zip http://www.ja-sig.org/downloads/cas-clients/cas-client-java-2.1.1.zip 1 deployerConfigContext.xml <!-- JDBC 执行SQL 通过数据库数据验证 --> <bean id="casDataSource" class="org.apache.commons.dbcp.BasicDataS ...
1【仿写】   2 public LdapContext getLdapContext() throws NamingException { String userName = "App01"; // 用户名称 String password = "password"; // 密码 String host = "192.168.1.1"; // AD服务器 String port = "389"; // 端口 String url = new String("ldap ...
【仿写】   1 private Logger log = Logger.getLogger(UploadFileAction.class); private File uploadify; private String uploadifyFileName; @SuppressWarnings("deprecation") public String uploadFile() throws Exception { String extName = "";// 扩展名 String newFileName = &qu ...
web.xml <context-param> <param-name>contextConfigLocation</param-name> <param-value>classpath:app*.xml</param-value> </context-param> <listener> <listener-class>org.springframework.web.context.ContextLoaderListener< ...
  Spring quartz job xml configuration  <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="mytJobs" class=&qu ...
【个人收藏】     http://java.sun.com/products/jsp/jstl/1.1/docs/tlddocs/index.html <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>    <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> <%@ taglib prefix=&quo ...
1     function add(){ var obj = document.getElementById("tbl"); var newRow = obj.insertRow(0); var newCell = newRow.insertCell(0); var clonetd = obj.rows[1].cells[0].cloneNode(true); newCell.innerHTML = clonetd.innerHTML; ...
*Action.java   StringBuffer date = new StringBuffer("["); response.setContentType("text/json;charset=utf-8"); PrintWriter out = response.getWriter(); Iterator it=map.keySet().iterator(); while (it.hasNext()){ String key=String.valueOf(it.next()); date.append("{key:\ ...
【个人收藏】 方法一: 打开 Settings -> Saved Data -> Authentication Data -> clear   清除存储的用户 方法二: 删除 C:\Documents and Settings\UserName\Application Data\Subversion\auth\svn.simple 下的存储文件
【个人收藏】 package com.weather; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; import java.net.MalformedURLException; import java.net.URL; import java.net.URLConnection; import java.util.ArrayList; import java.util.List; import javax.xml. ...
server.xml <Context docBase= "D:\work\project\WebRoot " path= "" reloadable= "true" debug="0" />   <Host name= "localhost " debug= "0 " appBase= "绝对路径 " unpackWARs= "true "> <Context docBase= "相对于 ...
【个人收藏】 1.JDK1.6安装准备 从Oracle公司网站www.oracle.com 下载linux版本的jdk,我下载的版本是JDK 6 Update 7, 地址 http://www.oracle.com/technetwork/java/javase/downloads/index.html jdk-6u7-linux-i586.bin,打开终端,用cd命令进入jdk所在目录,执行复制命令 cp -a jdk-6u7-linux-i586.bin /usr/local 即将jdk复制到/usr/lcoal目录下,然后进入/usr目录cd /usr/local 执行权限: ...
Jar包struts2-spring-plugin-***.jarxwork-*.jarstruts2-core-*.jarognl-*.jarfreemarker-*.jar Struts2+Spring   Struts2必须的5个 Jarcommons-fileupload-*.jar     文件上传用到commons-io-*.jar                   IO流用到XML配置 struts.xml <struts> <constant name="struts.objectFactory" value="spring& ...
Global site tag (gtag.js) - Google Analytics