Webcam Chat QuickBooks Advice international calling cards international phone cards
JavaBeat Java Books Certifications Certifications Kits Articles Tutorials Tips QNA Book Store Interview Questions SCJP 1.5 SCJP 1.6 SCWCD 5.0 SCBCD 5.0 SCEA SCJA Feeds
Spring MVC - Constructor Injection Example
Author : AbhilashEtikala
Date : Sat Jan 22nd, 2011
Spring IOC will inject the dependencies using the constructor.All the dependencies are declared in the constructor. Here we show a simple student details example of Constructor-Injection. We have already published another article on the Spring Constructor Injection. This example provides more details.

Spring MVC - DispatcherServlet Example
Author : AbhilashEtikala
Date : Sat Jan 22nd, 2011
DispatcherServlet : In Spring's web MVC framework the mechanism of dispatching the request to the appropriate controllers is achieved by configuring the DispatcherServlet class. DispatcherServlet is the class which manages the entire request handling process.Like a normal servlet DispatcherServlet also needs to be configured in the web deployement Descriptor(web.xml).By default DispatcherServlet will look for a name dispatcher-servlet.xml to load the Spring MVC configuration. Spring's DispatcherServlet is completly integrated with the Spring ApplicationContext and enables to use all the other features of the Spring.This example will explain about DispatcherServlet and its configuration.

JSTL Configuration Error
Author : JavaBeat
Date : Fri Dec 24th, 2010
If you are getting the following error while running the JSP 2.0 in Tomcat server. It means the application is missing JSTL jar file. If you add standard.jar and jstl.jar the problem will be solved.

Spring HTML TRANSFORM Tag (<spring:transform>)
Author : AbhilashEtikala
Date : Mon Dec 6th, 2010
Spring MVC provides a JSP tag library (Spring Form) for making it easier to bind form elements to Model data. Spring Framework also provides you with some tags for evaluating errors, setting themes and outputting internationalized messages.

What is Immutable Objects in Java?
Author : JavaBeat
Date : Fri Dec 3rd, 2010
An immutable object is something whose state can't be change after there creation, e.g. String objects. Once you have created a String object, you can't alter this.

Novice way to implement a Singleton
Author : JavaBeat
Date : Fri Dec 3rd, 2010
Well, I have!!! The contract of Singleton class can be broken. Let's discuss Singleton pattern in Simple Threaded environment and then in next post I will discuss this pattern in Multithreaded environment.

What is Remote Debugging in Java?
Author : JavaBeat
Date : Fri Dec 3rd, 2010
Consider a scenario where you can't run the application in your development environment, e.g. say your application can run only on a server machine (because it is dependent on some third party interface that are not accessible in your development machine) and you have to resolve a problem (bug). What you can do?

Spring HTML ESCAPE and ESCAPE BODY Tags (<spring:htmlEscape> and <spring:escapeBody>)
Author : AbhilashEtikala
Date : Tue Nov 30th, 2010
Spring MVC provides a JSP tag library (Spring Form) for making it easier to bind form elements to Model data. Spring Framework also provides you with some tags for evaluating errors, setting themes and outputting internationalized messages.

Spring BIND and NESTEDPATH Tags (<spring:bind> and <spring:nestedPath>)
Author : AbhilashEtikala
Date : Tue Nov 30th, 2010
spring:bind-This tag provides support for the evaluation of the certain bean or bean property.The status may includes the actual value of the certain bean or bean property as well as possible errors and the expression for the databinding functionality. spring:nestedPath-This tag provide support and assist with nested beans or bean properties.It exports a "nestedPath" variable of type String. The BindTag will automatically detect the nested path and automatically prepend it to its own path to form a complete path to the bean or bean property. This tag will also prepend any existing nested path that is currently set. Thus, you can nest multiple nested path tags.

Spring MESSAGE and THEME Tags (<spring:message> and <spring:theme>)
Author : AbhilashEtikala
Date : Tue Nov 30th, 2010
spring:message-This tag provides internationalization support using MessageSource interface which provides functionality to retrieve messages.If "code" isn't set or cannot be resolved, "text" will be used as default message. spring:theme-This tag is used to retrieve a theme message in the scope of the current page.Messages are looked up using the ApplicationContext's ThemeSource.


JavaBeat Website (2004-2011), India
javabeat | advertise | about us | contact | useful resources
Copyright (2004 - 2011), JavaBeat


Technology Blogs
Technology blogs Technology Blogs
blog log