
web
一水之星
这个作者很懒,什么都没留下…
展开
-
java web复制后,不能以新名字访问
,修改web Context-root的地址就成原创 2012-08-17 22:05:39 · 479 阅读 · 0 评论 -
Apache Commons fileUpload实现文件上传
http://zhangjunhd.blog.51cto.com/113473/18331转载 2013-02-17 15:48:02 · 435 阅读 · 0 评论 -
利用 Commons-Fileupload 实现文件上传
http://www.cnblogs.com/kiant71/archive/2008/10/04/1752068.html转载 2013-02-17 12:52:46 · 448 阅读 · 0 评论 -
EXT 双击事件
原文地址:http://blog.youkuaiyun.com/sanshou/article/details/7967470定义双击事件var onrowdoubleclick=function(grid,index,e){var selectionModel=grid.getSelectionModel();var record=selectionModel.getSelected转载 2013-01-19 11:02:14 · 2788 阅读 · 0 评论 -
HTML中IFrame父窗口与子窗口相互操作
一、Iframe篇//&&&&&&&&&&&&&&&&&&&&公共方法开始&&&&&&&&&&&&&&&//父对象得到子窗口的值//ObjectID是窗口标识,ContentID是元素IDfunction GetValue(ObjectID,ContentID){ varIsIE = (navigator.appName == 'Microsoft Intern转载 2013-01-19 10:02:49 · 15393 阅读 · 0 评论 -
<%! …… %> :在JSP文件中,表示声明。
:在JSP文件中,表示声明。原文地址:http://blog.sina.com.cn/s/blog_6414c4b80100s0ab.html(2011-05-31 22:19:36)转载▼标签:杂谈分类: 学习路上声明的作用:定义准备好将要在JSP程序中用到的变量和方法,这些声明的语法要合乎java语法规则。可以转载 2013-01-17 16:52:05 · 1419 阅读 · 0 评论 -
关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法
原文地址:http://blog.youkuaiyun.com/suchgoingdown/article/details/4734331关于js中"window.location.href"、"location.href"、"parent.location.href"、"top.location.href"的用法"window.location.href"、"location.href"转载 2013-02-01 15:15:53 · 559 阅读 · 0 评论 -
JSP弹出窗口和模式对话框
原文地址:http://duqiangcise.iteye.com/blog/288430JSP 弹出窗口 一、window.open() 基础知识1、window.open()支持环境: JavaScript1.0+/JScript1.0+/Nav2+/IE3+/Opera3+2、基本语法:window.open(pageURL,name,parameters) 其中:p转载 2013-01-30 16:00:20 · 1068 阅读 · 0 评论 -
子窗体向父窗体传值
原文地址:http://zhidao.baidu.com/question/305780663.html------父窗体--------fffunction op(){ window.open("NewFile.html","_blank","height=320,width=400");}-------popup 窗体-----------function backVa转载 2013-01-19 10:22:25 · 1031 阅读 · 0 评论 -
logic:present 和 logic:empty标签
原文地址:http://www.blogjava.net/Werther/archive/2009/11/10/301808.html logic:present 和 logic:empty标签logic:present 和 logic:empty他们的用法大致相同,唯一的不同点是:两者在对空字符串的处理上存在着不同。下面为index.jsp中的代码:1转载 2012-12-28 14:30:20 · 497 阅读 · 0 评论 -
include与jsp:include区别
原文地址:http://www.cnblogs.com/Ghost-Draw-Sign/articles/1835974.html我们都知道在jsp中include有两种形式,分别是 前者是指令元素、后者是行为元素。具体它们将在何处用?如何用及它们有什么区别?这应该是很多人看到它都会想到的问题。下面一起来看看吧。 通常当应用程序中所有的页面的某些部分(例如标题、页脚转载 2012-12-01 13:52:11 · 487 阅读 · 0 评论 -
异常整理
nested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptornested exception is java.lang.NoClassDefFoundError: org/aopalliance/intercept/MethodInterceptor 的原创 2012-11-29 10:24:39 · 8892 阅读 · 2 评论 -
通用的用户登录过滤器(SessionFilter)
原文地址:http://www.cnblogs.com/hemingwang0902/archive/2012/01/09/session-filter.html功能描述 用于检查用户是否登录了系统,如果未登录,则重定向到指的登录页面。使用方法 在 java web 项目的 web.xml 文件中添加如下代码,对每个参数都进行了详细的说明。?转载 2012-11-28 14:48:43 · 2092 阅读 · 0 评论 -
web应用classpath路径
原文地址:http://sfc235300.iteye.com/blog/673116classpath路径在每个J2ee项目中都会用到,即WEB-INF下面的classes目录,所有src目录下面的java、xml、properties等文件编译后都会在此,所以在开发时常将相应的xml配置文件放于src或其子目录下; 引用classpath路径下的文件,只需在文转载 2012-11-27 08:40:48 · 2873 阅读 · 0 评论 -
java 泛型 深入
http://www.blogjava.net/fancydeepin/archive/2012/08/25/java_Generics.html转载 2012-09-14 16:19:17 · 436 阅读 · 0 评论 -
使用getGenericSuperclass()和getActualTypeArguments()将DAO做成泛型
一、getGenericSuperclass()和getActualTypeArguments()基本用法:import java.lang.reflect.ParameterizedType;public class TT extends TT2 {public static void main(String[] args) {System.out.pri转载 2012-09-14 16:16:22 · 738 阅读 · 0 评论 -
在泛型中得到T.class
在泛型中得到T.class 2012-02-21 18:27:31| 分类:java基础 | 标签:|字号大中小 订阅在使用Spring的JdbcTemplate实现DAO的时候,经常会用到一个类ParameterizedBeanPropertyRowMapper。它的静态方法newInstance()接受一个Class类型的参数,用于将ResultSet转载 2012-09-14 16:13:31 · 899 阅读 · 0 评论 -
(ParameterizedType) getClass().getGenericSuperclass().getActualTypeArguments()[0]得到的是什么?
(ParameterizedType) getClass().getGenericSuperclass().getActualTypeArguments()[0]得到的是什么?Posted on 2012-04-27 09:13 IceWee 阅读(271) 评论(0) 编辑 收藏 所属分类:Java基类:http://www.blogjava.net/转载 2012-09-14 16:10:01 · 2041 阅读 · 0 评论 -
frameset属性相关设置
原文地址:http://blog.youkuaiyun.com/angle860123/article/details/7795572frameset属性相关设置:可以设置是否显示边框线,还可以设置边框的宽度和颜色。1、frameborder属性frameborder属性用于设置是否显示边框线,语法格式为:或frameborder的取值只能为0或1,1为默认值,表示显示;如果为0,则边转载 2013-03-08 11:16:43 · 982 阅读 · 0 评论