- 博客(9)
- 资源 (3)
- 收藏
- 关注
原创 Servlet中显示提示框
代码:response.getWriter().print("function checkForm(){ \n" + " alert(\"You have no access to this attachment!\");return true;}");如果上面那段代码同时和response的重定向一起使用,就冲突了,必须舍其一,eg:
2015-01-29 17:57:02 1648
原创 Weblogic soa项目报错:No credential mapper entry found for password indirection user
1.错误信息:[10:56:48 AM] Deploying Application... Opening of wallet based credential store failed. Reason java.io.IOException: PKI-02002: Unable to open the wallet. Check password. <Failure
2015-01-28 10:56:02 1560
原创 Adf : required="true" 与 <af:setActionListener的冲突
问题描述:同一个jsff页面中如果已有一个控件设置成required="true"属性的话,其他控件的看图:Title设置成了required="true",co-creators后面的链接,点击的话,设置了传参方法,结果出来的popup显示全是空的,参数值没有传过来。title输入框部分的源码: <af:inputText id="it2"
2015-01-26 15:41:58 1011
原创 Outlook里面插入图片不是附件的形式
Q:以前总是用MSN截图然后复制到Outlook里面,如果是已经保存到本地的一张图片再拖拽到Outlook里面就成了附件的形式了。如何以图片而非附件的形式展示在Outlook里面?A:先把图片拖拽到Word里面,然后在Word里面复制图片粘贴到Outlook就OK了。
2015-01-19 09:46:42 16529
原创 POI读写Excel格式问题
做Data Migration的时候,POI读取Excel,插入Oracle,再导出到excel,和之前的excel去比对看看数据是否有问题。过程中反复遇到格式和数据的问题,下面列出2个问题:1.Excel里面的内容被加了一些格式和修饰,导致用程序取到的数据和原excel中的数据完全不一样,很奇怪的数据。解决办法://Returns the raw, underlying ooxm
2015-01-15 16:52:42 1051
原创 开发工具
1.文本文件夹对比工具:Beyond Compare.使用:一个项目有2个branch,分别修改了不同的代码,合并这2个branch的时候使用的这个工具,一个类一个类的比对,他会列出不同的地方,操作方便。
2015-01-15 13:15:57 538
原创 org.apache.commons.logging SimpleLog
1.2个配置文件搞定src 下:commons-logging.propertiesorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog simplelog.properties org.apache.commons.logging.simplelog.defaultlog=tr
2015-01-14 17:09:25 1004
原创 com.itextpdf.text.html.simpleparser.CellWrapper cannot be cast to com.itextpdf.text.Paragraph
用itext把html生成pdf的时候,如果html是这样的话:String content = "dayna";就会报错:Exception in thread "main" java.lang.ClassCastException: com.itextpdf.text.html.simpleparser.CellWrapper cannot be cast to com.itextpdf.
2015-01-14 17:01:41 2060
原创 iText parse html with RichText and images to pdf
I use itextpdf to convert RichText to pdf and encountered many issues. Here are the three issues I want to talk about :1.Tables in RichText turns into black box while using XMLWorkerHelper.2.Line spacing in pdf doesn't look the same as html from the UI w
2015-01-07 10:01:56 2868 3
保险日常知识总结
2016-06-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人