Archive | July 5th, 2008

How to read xml file and inject bean reference using Spring Framework?

July 5, 2008

3 Comments

Introduction This article presents sample source code for creating the Bean instance using the Spring Framework. This is basic example to read configuration file from the file system and create the beans from the applicationContext.xml file. This xml file define two beans Employee and Address. Address bean is injected inside Employee bean using the ref [...]

email

How to implement ActionListener (f:actionListener) in JSF?

July 5, 2008

0 Comments

Introduction This article explains how to implement the ActionListener class in the JSF core tag library. An ActionListener is an event handler interface for a class that can respond to user events in your JSF page. The body content of this tag must be empty. JSP File (index.jsp) 1 2 3 4 5 6 7 [...]