How much jsp is there in spring MVC [closed]
I am planning to build web app in spring mvc , hibernate.
i want to ask do i need to jave jsp knowledge for that.
or can i use separate thing like REST so that i can code the view without pages.
if yes , then how much in details JSP i need to know
Spring MVC is built on top of the Servlet/JSP APIs, which in turn uses JSP to render views. However, it also provides support for alternative view layers such as Freemarker, Velocity and even XSLT (urgh), if you don't want to use JSP.
I advise you to bite the bullet and learn JSP. It's not that hard.
I don't see where REST comes into this, though, that that nothing to do with view rendering. The server still has to output something. Perhaps you're referring to direct output of XML and/or JSON? Spring MVC does that too, and that doesn't require a view layer.
精彩评论