How to write data to an existing Excel file in Java

This article shows you how to write data to an existing Excel file using Apache POI. Apache POI is a pure Java library developed for reading, writing, and modifying Microsoft documents(eg. Excel, Word, PowerPoint). The Excel spreadsheet is a very popular file format created by Microsoft. Let’s assume a sample Excel file(students.xlsx) which we are …

How to write data to an existing Excel file in Java Read More »

Apache POI – Read and Write Excel files in java

This article shows you how to create and read excel files using the Apache POI. To Read and Write Excel files in Java, Apache provides a very popular library called Apache POI. Microsoft Excel documents generally come in two different formats Excel 97(-2003) and Excel(2007+). ie XLS and XLSX formats. In this article, we will …

Apache POI – Read and Write Excel files in java Read More »

How to Read password-protected Excel in java?

This article shows you how to read password-protected Microsoft Excel documents using Apache POI in java. Microsoft Excel documents generally come in two different formats Excel 97(-2003) and Excel(2007+). ie XLS and XLSX formats. Reading protected documents is format-dependent and needs to be implemented per format differently. But using WorkbookFactory class, we would write a generic …

How to Read password-protected Excel in java? Read More »

How to create password-protected Excel in java?

This article shows you how to create a password-protected Microsoft Excel file using Apache POI. Microsoft Excel documents generally come in two different formats Excel 97(-2003) and Excel(2007+). ie XLS and XLSX formats. How to password protect an excel file? Encryption is format-dependent and needs to be implemented per format differently. Password protect XLS file …

How to create password-protected Excel in java? Read More »

How to read Excel files in java using Apache POI?

The Excel spreadsheet is the very popular file format created by Microsoft. Apache POI is a pure java library developed for reading and writing Microsoft files(eg. Excel spreadsheet, Word, PowerPoint, etc.). In this article, you will see how to read Excel files using the Apache POI library. Apache POI Setup in Eclipse IDE There are …

How to read Excel files in java using Apache POI? Read More »

How to write Excel files in java using Apache POI?

In this article, you will learn how to write Excel(XLS & XLSX) files in java using the Apache POI library. If you are new to the Apache POI library then we recommend you to learn the basics of Apache POI. If you know the fundamentals of Apache POI already then directly move to follow this …

How to write Excel files in java using Apache POI? Read More »

Preview an image before uploading using Javascript

In this article, you will see how to preview an image before uploading it to the Server. Previewing the image is the best user experience. The users could be able to see which image they are going to upload. Here we are going to use HTML, CSS, and Javascript to develop it. Let’s see how …

Preview an image before uploading using Javascript Read More »

File upload validations in javascript

In the web application, from the security point of view file upload validations are the most important parameter that needs to be considered by each developer especially when doing the file upload. The validations can be either client-side or server-side or maybe both. This article shows you how could you validate the File Type (Extension) …

File upload validations in javascript Read More »