my dog learned polymorphism*
The moose likes JSF and the fly likes Help needed with JSF-Spring in eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Help needed with JSF-Spring in eclipse" Watch "Help needed with JSF-Spring in eclipse" New topic
Author

Help needed with JSF-Spring in eclipse

deshki raja
Greenhorn

Joined: Apr 03, 2009
Posts: 12
Hi,
I want to make a JSF-Spring Application in Eclipse....What are the jars I need....? What are the steps to be followed ? I have been trying it for sometime..but some how or other its not working out...can anyone help me on this ?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16070
    
  21

Eclipse has nothing to do with it.

Here's a snippet of my Maven POM for a Spring-based JSF project:


Some of these items are optional. For example, unless you're using JPA (and it's a good thing to use), you can omit spring-jpa. The first one is definitely required, the next 2 probably, after that I'm not sure. I added them as I needed them.

You also need to have this in your faces-config.xml file so that the spring beans can be seen (and injected) by the JSF EL processor:



The part that counts is the DelegatingVariableResolver. The others are mostly just good practice.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Help needed with JSF-Spring in eclipse