Announcement Announcement Module
Collapse
No announcement yet.
Spring 3 MVC Multiple view resolvers(Jsp and Velocity) Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring 3 MVC Multiple view resolvers(Jsp and Velocity)

    HI,
    I posted this query the other day in http://stackoverflow.com
    [http://stackoverflow.com/questions/1...-and-velocity], but wasn't able to get answer, so now I'm asking here the same query again.

    Use Case/requirement:
    Because of some business/technical constraints we should use spring3 MVC multiple view resolvers(JSP and Velocity). I tried to search on net on this but i couldn't find perfect solution. May be someone else had experienced the same scenario. So Could you please let me know how can i use both JSP and Velocity as view resolvers in the SPring3 MVC application.Any working example/tutorial link is highly appreciated.

    Note: We should use both JSp and Velocity only not any other view resolvers

  • #2
    Yes y ou can and have you actually tried it?! Also I suggest a readup on views and viewresolvers... Simply make sure the jsp one is the last viewresolver consulted, simply configure the order attribute.

    Comment


    • #3
      Hi Marten, Thank you for your prompt reply. Let me give it a try.
      Some one once mentioned in other blogs, we can't use JSP and Velocity as multiple view resolvers(i meant this Velocity and JSP combination doesn't work). So I just need experts advice before going ahead with this approach. Once again thank you so much for your time to look into this. I really appreciate.

      Comment

      Working...
      X