Menu

How to use DispatchServlet

Users
kitregist
2006-10-08
2013-04-08
  • kitregist

    kitregist - 2006-10-08

    hello.

    How to use de.mindmatters.faces.spring.contex package
    I want to use Original ViewResolver
    help

     
    • Thomas Jachmann

      Thomas Jachmann - 2006-10-12

      Hi,

      to use our context package, you just have to define the corresponding listener in web.xml:

      <listener>
          <listener-class>de.mindmatters.faces.spring.context.ContextLoaderListener</listener-class>
      </listener>

      JSF-Spring defines a ViewResolver (FacesViewResolver) which will handle all JSF views. This doesn't keep you from defining other ViewResolvers. If your ViewResolver conflicts with our ViewResolver, just give yours a lower order and it will be preferred.

      I can't tell you more since you didn't provide much information on what you want to achieve which problems you ran into.

      HTH, Thomas

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.