Monthly Archives: June 2009

Spring Dependency Injection Example

Hello Readers, This post is an example of achieving Dependency Injection(DI) using our favorite Spring framework 🙂 Dependency Injection is a feature that benefits us by making the classes loosely coupled. The general concept in DI is Inversion of Control … Continue reading

Rate this:

Posted in Spring | Tagged , | Leave a comment

Struts Tiles Integration

Hi All, This post will be focused on integrating Tiles framework with Struts 1.x. Following are the code snippets. 1) Add a plug in for Tiles in struts-config.xml. Here is the struts-config.xml file: 2) Write a Layout.jsp page. This page … Continue reading

Rate this:

Posted in Struts | Tagged , | 1 Comment

Cross Context Dispatch

Hi Readers, This blog is dedicated to cross context dispatch in J2EE. There are 2 web applications: 1) ServletJSPAssignment8 2) ServletForwardRedirectTest ServletJSPAssignment8 wants to forward the request to a resource in ServletForwardRedirectTest application. The resource in ServletForwardRedirectTest to be invoked … Continue reading

Rate this:

Posted in JSP & Servlets | Tagged | 1 Comment