• Post Reply Bookmark Topic Watch Topic
  • New Topic

Common code not executing in Spring MVC  RSS feed

 
raja singh kumar
Ranch Hand
Posts: 179
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

The question is on Spring MVC. I am using @ModelAttribute at method level and as method parameter also. I have written a method in the controller called addingCommonObject which adds headerMessage. The output does not display the common code and header does not get displayed although I am able to see the parameters name and hobby on the browser. Somebody please help me

web.xml


spring-dispatcher-servlet.xml


HelloController.java



AdmissionForm.jsp



AdmissionSuccess.jsp


Student.java
















 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!