Introduction to Struts 2

Apache Struts is a free, open-source, MVC framework for creating elegant, modern Java web applications. It favors convention over configuration, is extensible using a plugin architecture, and ships with plugins to support REST, AJAX and JSON. Struts 2 is a pull-MVC framework. i.e. the data that is to be displayed to user has to be … Read more

Servlet: an Overview

A servlet is a Java program that runs in a Web server. The servlet takes an HTTP request from a browser, generates dynamic content like querying a database, and provides an HTTP response back to the browser. Alternatively, the servlet can be accessed directly from another application component or send its output to another component. … Read more

Java: an Overview

JAVA is a programming language and environment that was designed to solve a number of problems in modern programming practice. It is a general-purpose computer programming language that is concurrent, class-based, object-oriented and specifically designed to have as few implementation dependencies as possible. It is intended to let application developers “write once, run anywhere” (WORA) … Read more

Zip Files in Java Using Package

Java provides the ‘’ package to compress and decompress the data. To get started, we will need to import the necessary classes from the package. These classes allow us to work with zip files and compress data. In the below example we are using ZipOutputStream and  ZipEntry Class. Both are essential classes in Java’s … Read more