struts
文章平均质量分 81
穷困潦倒赊账度日
今日记一事明日悟一理积久而成学
展开
-
Memcached struts2 java linux 简单例子
一、 Memcached安装和使用: 官网:http://monkey.org/~provos/libevent/ libevent 下载:http://monkey.org/~provos/libevent-1.4.9-stable.tar.gz Memcached 官网:http://www.danga.com/memcached Memcached 下载:http://www原创 2013-03-05 16:43:56 · 1563 阅读 · 0 评论 -
struts2 url 重写 经典入门
项目开始路径为 http://localhost:8080/YHAO-Portals/user/handleDemo2.do 重写后为:http://localhost:8080/YHAO-Portals/xp.html 1.引入urlrewrite-*.jar包 2.配置web.xml struts2 org.apache.struts2.dispatche原创 2013-03-08 17:03:12 · 1435 阅读 · 0 评论 -
spring 注解配置
1.spring.xml文件配置 <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tx="http://www.springframework.org/schema/tx" xmlns:aop="原创 2013-04-02 15:19:32 · 790 阅读 · 0 评论 -
jquery struts 验证唯一标识 公用方法
步骤一 引入js文件 "> "> 步骤二 公用js文件 dictionary.js /** *↓↓↓↓↓↓↓↓↓↓ *作者:ZhuangZi *类名:公用方法初始化 *功能:公用方法初始化 *详细:公用方法初始化 *版本:1.0 *日期:2013-03-22 *说明: *↑↑↑↑↑↑↑↑↑↑ */ $(function(){ /*1.失原创 2013-03-27 10:41:55 · 1065 阅读 · 0 评论 -
ajax struts2 下拉框赋值 公用方法 深一度封装
1.此代码适合所有下拉列表取值 2.一个项目所有的下拉列表只需要这一个公用方法; 步骤一:创建实体bean; public class DictionaryBean { private String value_Id;//下拉框option的id private String value;//下拉框option的值 private String flag;//对原创 2013-03-27 10:20:53 · 1264 阅读 · 0 评论