Working with java.util.zip compression API

In this article I shall discuss about how to compress files using Java. Java has a package of classes that allow data compression.Let’s see how easy it is to compress all files in a folder.The first step is to import the classes that we will use: Working with java.util.zip files Package java.io classes will be […]

Developing struts 2 applications using Eclipse

apache-struts-logo

Struts 2 is a second generation framework used to develop Enterprise web applications by using Model-View-Controller design pattern as its base. More specifically, it works on Pull-MVC design. This is one of the many standard frameworks that help the developers to develop applications from the point of development to building to deployment and testing. Struts […]

Static HTML Webpage Creation

html

In this article I shall detail you about the basics of creating a static HTML page. This article will help beginners who want to create a website of their own or write an HTML page from scratch. Though there are innumerable sites with such related data but I felt I personally should put forth my […]

Struts 2 + Google AppEngine Integration

gae

Now a days, Cloud computing is becoming more and more popular that large organizations are tending to develop their web applications and deploy them onto the global centre from where all the clients around the world can access the application with ease. Google App Engine also termed as GAE is a PAAS (platform as a […]

Migrating Struts Applications to Struts 2

apache-struts-logo

Struts 2 is one of the most popular web application frameworks which is developed with pull-MVC pattern as its base. Most of the web applications developed today uses struts as their building tool. Now, the latest release of struts was in the market and there is a demanding need to migrate the old applications developed […]

Jackson – Java JSON Processor

JSON

JSON stands for Java Script Object Notation. JSON is a format for efficient transfer of data across Platform. To manipulate JSON in Java, we have many processors. One of such JSON processor in Java is Jackson. Jackson is a high performance JSON processor. Reading, Writing and modifying contents is made easy in Java using the […]

Spring support for Multipart (File Upload)

spring

In this article let us see how to how Spring supports multipart i.e file uploading. Spring has built-in multipart support for file uploads in web applications. This can be enabled with the interface org.springframework.web.multipart.MultipartResolver object. There are two implementations of the interface MultipartResolver provide by Spring as follows: One implementation is for use with Commons […]

Themes in Spring MVC

spring

In this article I shall discuss about using themes in Spring application. A theme is a collection of static resources, typically style sheets and images, that affect the visual style of the application. We can apply Spring Web MVC framework themes to set the overall look-and-feel of application, thereby enhancing user experience. This would be […]

Exception Handling in Spring with Example

spring

In this article I shall discuss about how to handle exceptions in Spring. In servlet web applications, exception mappings are defined in the web application descriptor web.xml. In Spring, HandlerExceptionResolver implementations can be used to deal with unexpected exceptions that occur during controller execution. These implementations provide information about which handler was executing when the exception […]

Switch in Android 4.0

android-icon

A Switch is a widget introduced in Android 4.0, which is a two state toggle button. You can drag it to one side or the other with your fingers to toggle an option between two states, or you can simply tap on it to change that state of an option(ON or OFF). A Switch is […]