- 博客(18)
- 资源 (5)
- 收藏
- 关注
转载 在html frame中实现注销功能
function goto(uri){ window.parent.location.href = uri;}
2011-11-25 11:21:31 1893
原创 select 左右两个框,双击后添加删除
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">http://www.w3.org/1999/xhtml">无标题文档 dxs fsd ds dscx fd dxs fsd ds dscx fd dxs fsd ds ds
2011-11-24 13:57:30 875
转载 设置was支持java1.5
IBM websphere6.1 不支持泛型、int-Integer类型的自动装箱和拆箱问题分类: 其他2009-08-17 17:59 482人阅读 评论(0) 收藏 举报Websphere6.1默认的JSP编译器为JDK1.3 BT啊!!!!!所以必须手动更改为1.5,否则不能识别JDK1.5的语法 解决办法如下:1、找到 E:/del/WebS
2011-11-23 13:45:49 569
转载 struts2 拦截器Interceptor中取得request
public class AuthInterceptor extends MethodFilterInterceptor { public String intercept(ActionInvocation invocation) throws Exception { ActionContext actionContext = invocation
2011-11-23 13:37:43 9495 1
转载 java.lang.ClassNotFoundException: org.apache.catalina.core.JreMemoryLeakPreventionListener
2011-11-21 15:09:55 org.apache.tomcat.util.digester.Digester startElement严重: Begin event threw exceptionjava.lang.ClassNotFoundException: org.apache.catalina.core.JreMemoryLeakPreventionListener
2011-11-21 15:11:48 16739
转载 sso单点登陆的web.xml的设置
http://java.boot.by/wcd-guide/ch05s03.htmlCompare and contrast the authentication types (BASIC, DIGEST, FORM, and CLIENT-CERT); describe how the type works; and given a scenario, select an app
2011-11-21 14:06:18 2732 1
原创 ibatis Cause: java.lang.ClassNotFoundException: Integer
太无语的问题了,在myeclipse可以运行,在tomcat下运行不了。原来是没有把lib加到build path里。 2011-11-18 18:16:37 ERROR Thread-1 com.doshine.platform.dras.dao.ibatis.DdcSqlMapFactory - com.ibatis.common.exception.NestedRuntimeExce
2011-11-18 19:01:37 3508 1
转载 org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to org.apache.AnnotationProcessor
org.apache.catalina.util.DefaultAnnotationProcessor cannot be cast to org.apache.AnnotationProcessor 最近用flex+java做个小例子,尝试flex调用jsp页面,居然不行,又测试调用servlet,可以。搞糊涂了。看错误时org.apache.catalina.util.De
2011-11-18 18:54:29 593
转载 getchart.jsp
%@page import="ChartDirector.*" %>try { out.clear(); GetSessionImage.getImage(request, response); if (Math.max(1, 2) == 2) return;}catch (IllegalStateException e) { response.sendR
2011-11-18 16:09:11 815
转载 ChartDirector 中文乱码问题,解决方法
ChartDirector 中文乱码问题,解决方法1.第一步:在jsp开头设置字符集:2.第二步:设置中文字体饼图PieChart类中有设置字体的方法PieChart c = new PieChart(360, 300);// 设置字体c.setLabelStyle( "宋体 ",9,0x20FF0000); 其他如栏图中没有setL
2011-11-18 16:07:12 1893
转载 struts2 标签的使用之二 s:iterator
struts2的s:iterator 可以遍历 数据栈里面的任何数组,集合等等 以下几个简单的demo:s:iterator 标签有3个属性: value:被迭代的集合 id :指定集合里面的元素的id status 迭代元素的索引1:jsp页面定义元素写法 数组或list"{'1','2','3','4','5'}" id='numb
2011-11-17 16:34:38 401
转载 STRUTS2 取某个map值
STRUTS2 取某个map值 s:set name="map" value="#request.paras" /> s:if test="${map['test']!=null}"> s:property value="#map['test']" /> s:if>
2011-11-17 16:24:11 1124
转载 读取web-inf里的文件
读取web-inf里的文件 String userName = " " ; String userPassWord = " " ; String driver = " " ; String url = " " ; private Properties prop
2011-11-17 15:59:41 556
原创 对象保存为文件操作类 ObjectFileUtil
import java.io.FileInputStream;import java.io.FileOutputStream;import java.io.IOException;import java.io.ObjectInputStream;import java.io.ObjectOutputStream;import org.apache.commons.logging
2011-11-17 10:24:53 686
转载 myeclipse7.0 安装 svn
http://imcoddy.wordpress.com/2009/12/13/%E6%89%8B%E5%B7%A5%E5%AE%89%E8%A3%85myeclipse7-0%E7%9A%84%E6%8F%92%E4%BB%B6/ myeclipse7.0 安装 svn, 真他妈的麻烦,搞了半天也搞不定,到网上找了很久也没有找到,今天特意花了一天的时间来搞,还是牛人多呀,最终找到了一个,
2011-11-17 10:12:49 662
转载 struts2 判断集合为空
s:if test="null==user||user.isEmpty()"> 集合为空 s:if>s:else> 集合不为空 s:else>ors:if test="null!=user&&!user.isEmpty()"> 集合不为看空 s:if>
2011-11-17 10:11:06 811
xpath在java中要类jaxen.jar
2011-12-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人