• Post Reply Bookmark Topic Watch Topic
  • New Topic

Spring MVC the same controllers supporting both web pages and REST  RSS feed

 
Tony Evans
Ranch Hand
Posts: 598
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a web application built on Spring MVC. I have crud controllers is it possible to use the same controller for both websites and as REST operatons. So a create operation.




I was thinking can this also support rest operations, can a rest input support the idea of a form and therefore use @ModelAttribute as a input paremeter.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!