Hi Rich facess user,
Please help me.
nothing special RichFaces-related should be done for that configuration.. So just check Spring howto's for integration with JSF.
That's not a RichFaces question, more a generic JSF question. First, think through what Spring features you want to use. Spring has lots of features, and you can pretty much pick which ones you need. Most likely you'll want to use Spring's bean managing capabilities, so you would define your beans in a Spring application context and not the faces-config.xml anymore. You could use Spring's DispatcherServlet or even Spring WebFlow, although you shouldn't decide for the second lightly.