albert's blog
Showing posts with label
Apache Project
.
Show all posts
Showing posts with label
Apache Project
.
Show all posts
2017/12/10
[DBCP2] [DB2] java.lang.AbstractMethodError: com.ibm.db2.jcc.t4.b.isValid(I)Z
›
Problem I am using DBCP2 as my third party library to do connection pool. But as I try to get connection it throws exception: java.l...
2017/10/05
How to check file's media type?
›
Problem If I have a file upload function in my web application, this function need to check the file which upload by user is image file or ...
2017/09/07
How to call a REST service in webMethods Integration Server from commons-httpclient
›
Scenario Assume I had created two REST Resources in webMethods, one is via HTTP Post method, another one is by HTTP Get method. How do I ...
2017/07/11
Utilize AgeFileFilter to filter either newer files or files equal to or older
›
Scenario I have an requirement to read a specific directory (including subdirectories) to find five days before log files and delete them. ...
2017/07/09
[HttpClient] Fail to Get Response from a Valid URL
›
Problem I am using HttpClient Get method to retrieve the response body of the HTTP method, if any. During the execution, I fail to get res...
2017/07/08
[HttpClient] Warning: Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
›
Problem I am using HttpClient Get method to retrieve the response body of the HTTP method, if any. During the execution, the console print...
2017/06/05
How to use Apache Commons CSV to Read/Write CSV file
›
Step 1. You need to add this dependency to your pom.xml < dependency > < groupId > org.apache.commons </ groupId > ...
2016/10/07
[PDFBox] Generate TIF with 0-kb
›
Problem I am using Apache PDFBox to convert PDF to TIF file. The scenario is to generate TIF file to a specific path, then another applic...
›
Home
View web version