Profile cover photo
Profile photo
KnowledgeS NAN
About
Posts

Post has attachment
Handle CORS problem using java (Servlet/Filter)
Handle CORS problem using java (Servlet/Filter) 1. Make a Filter to handle all CORS request import java.io.IOException; import javax.servlet.Filter; import javax.servlet.FilterChain; import javax.servlet.FilterConfig; import javax.servlet.ServletException; ...
Add a comment...

Post has attachment
Read Images from a xlsx file using Apache POI
This article is all about how to read and download images inside a file in xlsx format. We will use Apache POI using java. 1. Maven dependencies commons-logging-1.2.jar  commons-collections4-4.1.jar openxml4j-1.0-betapoi-3.16.jar poi-ooxml-3.16.jar poi-ooxm...
Add a comment...

Post has attachment
Read Excel using Apache POI - Exception in thread "main" org.apache.poi.poifs.filesystem.OfficeXmlFileException:
Read Excel using Apache POI - Challenges ------------------------------------------------ 1) E xception
in thread "main"
org.apache.poi.poifs.filesystem.OfficeXmlFileException: The supplied
data appears to be in the Office 2007+ XML. You are calling the par...
Add a comment...

Post has attachment
Create and write Excel file using Google App Engine
This article explains how you can export data in excel using Google App Engine. 1. Apache POI library -- Here is maven dependency         <dependency>         <groupId>org.apache.poi</groupId>         <artifactId>poi</artifactId>     <version>3.16</version>...
Add a comment...

Post has attachment
Git Commands : How to remove all files deleted from index
Remove all deleted files from git index git ls-files --deleted -z | xargs -0 git rm
Add a comment...

Post has attachment
Create java client from WSDL for Google App engine
This post will explain how to consume SOAP based web services on Google App Engine platform. Keep your wsdl files in resources/wsdl folder Make these files entry in appengine-web.xml like   <static-files>        <include path="/**.wsdl"/>      <include path...
Add a comment...

Post has attachment
Convert pfx file into jks using java
This is a post which shows how to convert pfx file into jks. Prerequisites : Java 6+ Step 1: Use cmd with java in your classpath keytool -importkeystore -srckeystore testKey.pfx -srcstoretype pkcs12 -srcalias <myAliasName>  -destkeystore jksFile -deststoret...
Add a comment...

Post has attachment
Java Client with certificate authentication to access SOAP Webservice
This is an example to explain  how to authenticate java stub client with certification and send request to SOAP WSDL. public static void applyCertificateAuthentication(MyWsdlDataRequest wsdlClientRequest)             throws Exception {        String keyStor...
Add a comment...

Post has attachment
Configure MDC with SLF4j Logback file in java
This article is all about how you configure MDC logs with SLF4J and logback. 1. Maven POM dependencies : Please add maven dependencies as given below.        <!-- Logging with SLF4J & LogBack --> <dependency> <groupId>org.slf4j</groupId> <artifactId>slf4j-a...
Add a comment...

Post has attachment
Add a comment...
Wait while more posts are being loaded