Can Spring MVC and MyFaces work together?

Yes, they really can. But there are several mistakes in above mentioned configuration.

Yes, they really can. But there are several mistakes in above mentioned configuration. The file is WEB-INF/pages/main.

Jsp, but the JSF servlet must be mapped to *. Jsf and the suffix in the view resolver must be the same: .jsf. MyFaces changes the suffix automatically.

Then it does not work yet. You get IllegalStateException, that there is not any application context. The proper configuration of Spring consists of two files.

First is the application context and the second configuration file for dispatcher servlet. If you just create an empty application context file, the entire Geronimo container may freeze. You shall write configuration in two files.

Both of them you put into WEB-INF directory. First is applicationContext. Xml: And the second is configuration for servlet called sd, also sd-servlet.

Xml: Used solution (with JSP) is JSF 1.2 compatible. If you want to use facelet instead JSP, you need to use JSF 2.0 compatible implementation, e.g. MyFaces 2.0.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions