Author Archive

Page 1 of 23123451020...Last »

Creating Dynamic Web Project using Maven in Eclipse

Creating Dynamic Web Project using Maven in Eclipse
While using Maven as build tool in our project, I found it very difficult to create a Dynamic Web Project which supports Maven dependencies and can execute in Eclipse! I have seen lot of people using Maven just as build tool and for local setup uses jar files in some /lib directory. I wanted to remove this dependencies on local /lib for jar files ... Full story

Spring 3 MVC: Internationalization & Localization Tutorial with Example

Spring 3 MVC: Internationalization & Localization Tutorial with Example
Welcome to Part 5 for Spring 3.0 MVC Series. In previous article we saw how to configure Tiles framework with Spring 3 MVC application. We used org.springframework.web.servlet.view.tiles2.TilesConfigurer class in bean definition to define the tiles configuration file. This divided our HelloWorld Spring MVC application in sections such as header, footer etc. In this part we will discuss about Internationalization (I18N) and Localization (L10N) in Spring ... Full story

Calculate Free Disk Space in Java using Apache Commons IO

As a Java developer, lot of times I have to play around with file system. Sometimes I have to copy files/directories from one location to another; sometimes have to process certain files depending on certain pattern. In one of my test program, I wanted to calculate available disk space using Java. Lot of code snippets are ... Full story

Java Tip: How to Sort Arrays in Java using java.util.Arrays class

Here is a small but very useful tip that every Java programmer should be aware of. Have you ever tried sorting arrays in Java? Well, java.util.Arrays class has built in method to make your job easy. You can use following method to sort any array in Java. import java.util.Arrays; ... ... Arrays.sort (int ) Arrays.sort (float ) Arrays.sort (long ) ... Let us check an example were we will sort an array of ... Full story

Spring 3 MVC: Tiles Plugin Tutorial with Example in Eclipse

Spring 3 MVC: Tiles Plugin Tutorial with Example in Eclipse
Welcome to Part 4 for Spring 3.0 MVC Series. In previous article we saw how to create a form using Spring 3 MVC and display it in JSP. Also we learn about annotation @ModelAttribute. In this part we will discuss about Tiles Framework and its Integration with Spring 3.0 MVC. We will add Tiles support to our HelloWorld Spring application that we created in ... Full story

Spring 3 MVC: Handling Forms in Spring 3.0 MVC

Spring 3 MVC: Handling Forms in Spring 3.0 MVC
Welcome to the Part 3 of Spring 3.0 MVC Series. In previous article we created a Hello World application in Spring MVC. We leaned how to configure Spring MVC in web.xml and how to use different annotations like @Controller, @RequestMapping etc. In this article let us see how to handle forms in Spring 3.0 MVC. We will use the framework that we created ... Full story

Spring 3 MVC: Create Hello World application in Spring 3.0 MVC

Spring 3 MVC: Create Hello World application in Spring 3.0 MVC
Welcome to the Part 2 of Spring 3.0 MVC Series. In previous article we went through the Introduction of Spring MVC 3.0 framework, its request processing lifecycle and architecture diagram. In this article, let us create a simple Hello World application in Spring MVC 3.0. For creating the hello world demo application, we will use Eclipse IDE. Things We Need Before we starts with our first ... Full story

Spring 3 MVC – Introduction to Spring 3 MVC Framework

Spring 3 MVC – Introduction to Spring 3 MVC Framework
Introduction to Spring 3 MVC Framework Spring MVC is the web component of Spring's framework. It provides a rich functionality for building robust Web Applications. The Spring MVC Framework is architected and designed in such a way that every piece of logic and functionality is highly configurable. Also Spring can integrate effortlessly with other popular Web Frameworks like Struts, WebWork, Java Server Faces and Tapestry. It ... Full story

Eclipse Tip: Add your own Code Template in Eclipse

Eclipse Tip: Add your own Code Template in Eclipse
If you are using Eclipse as your primary development IDE, then you may want to know about Code templates in Eclipse. Code templates are certain user defined (some are available by default) templates which can assist in rapid code writing. Not only code templates increase your code writing speed, but it also add consistency across the code. To add a code template, all you need to ... Full story

Say Hello to WordPress 3.0!

Finally the much awaited version of the most popular blogging software has arrived. WordPress 3.0 release has been just announced. WordPress 3.0 is the result of six months of work from a total of 218 different contributors who have contributed for 1,217 bug fixes and feature enhancement. WordPress MU, the multi-user version of WordPress is now ... Full story
Page 1 of 23123451020...Last »
Copyright © 2010 ViralPatel.net. All rights reserved.