自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(4)
  • 资源 (4)
  • 收藏
  • 关注

原创 myeclipse 配置 mysql

第一步:下载mysql              访问 http://dev.mysql.com/downloads/mysql/5.0.html#win32  然后安装。第二步:下载jdbc驱动              访问http://dev.mysql.com/downl

2011-07-28 11:15:03 594

原创 AES解密 Given Final Block Not Properly Padded

最近这个异常困扰了我很久。 背景:利用apache的xmlsec.jar包实现对xml元素的加解密、签名和验证。在同一个工程里实现这些都没有问题。 但是在服务器加密后发往客户端解密,在解密时总是报出错误Given Final Block Not Properly Padded 。(服务器和客户端之间的通信是通过soap消息,而soap消息又是基于xml的,所以可以有针对性的对秘密元素进行保护)

2011-07-27 16:11:46 25037 1

原创 java实现xml的签名和验证

//签名函数  public static Element SignEnveloped  (final String strTagNameOfElementsToSign,  final Element elemParent,  final String strReferenceIdentifier,  final PrivateKey privateKey,  final Publi

2011-07-06 16:03:37 8558 2

原创 java实现XML的加密和解密

基于xml元素的加密和解密。 //加密函数 public static org.w3c.dom.Element EncryptElement(    final String strTagNameOfElementToEncrypt,    final org.w3c.dom.Element elemParent) throws Exception {   org.apache.xml.

2011-07-06 16:00:45 11288 4

jquery tabs实例

轻松实现网页版的tab标签显示。 包含完整的js和css代码

2012-08-29

jqueryUI工具类库

Welcome to jQuery UI! This page demonstrates the widgets you downloaded using the theme you selected in the download builder. We've included and linked to minified versions of jQuery, your personalized copy of jQuery UI (js/jquery-ui-1.8.21.custom.min.js), and css/humanity/jquery-ui-1.8.21.custom.css which imports the entire jQuery UI CSS Framework. You can choose to link a subset of the CSS Framework depending on your needs. You've downloaded components and a theme that are compatible with jQuery 1.3+. Please make sure you are using jQuery 1.3+ in your production environment. YOUR COMPONENTS:

2012-08-29

struts2示例程序

struts.xml &lt;?xml version="1.0" encoding="UTF-8" ?&gt; <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.1//EN" "http://struts.apache.org/dtds/struts-2.1.dtd"> <struts> <package name="demo" namespace="/mystruts" extends="struts-default"> <action name="sum" class="action.SumAction"> <result name="positive">/positive.jsp</result> <result name="negative">/negative.jsp</result> </action> </package> </struts>

2012-08-10

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除