I have recently started learning Spring MVC (using Eclipse with
Tomcat 7 server) but am not a new
Java developer. I have updated a simple 'Hello World' example to suit to my needs but the views that are being displayed when I execute the program are not rendering properly. When I run the program the welcome page is displayed as expected and it includes 2 links - when I click on either of the links, the URL is correct and is as follows:
. However both the artGallery.htm and fashionGallery.htm views display the same content as the welcome page instead of rendering their respective content. Seems like a simple enough fix but what am I missing?? My first guess is something in the Controller is not configured correctly but since I am new to Spring, I need some expert insight :-). Please see the code snippets below and I will provide any additional information that is needed. Thanks so much for your help!