Hi there
I am following this article
http://docs.spring.io/docs/Spring-MVC-step-by-step/part4.html#step4.4
All the Steps that are mentioned previously from 4.5 are working fine but in this case as this mentioned that there is a Link on hello.jsp that will redirect follow to /priceincrease.htm.I am getting error there that View that i Configure
priceincrease.jsp is not showing.
This is my /priceincrease.htm configuration in spring.xml file
this is my PriceIncreaseFormController class
this is my priceincrease.jsp file
and this is my hello.jsp file from where I am getting request in /priceincrease.htm class
although I am getting request in PriceIncreaseFormController class
on method
protected Object formBackingObject(HttpServletRequest request) throws ServletException {
PriceIncrease priceIncrease = new PriceIncrease();
priceIncrease.setPercentage(20);
return priceIncrease;
}
because on log it is printing
Oct 05, 2014 8:38:16 AM springapp.web.InventoryController handleRequest
INFO: Returning hello view with Sun Oct 05 08:38:16 IST 2014
Oct 05, 2014 8:38:18 AM springapp.service.PriceIncrease setPercentage
INFO: Percentage set to 20
but view priceincrease.jsp is not rendering I have added jar on both side on Build Path and Deployment Assembly
this is my directory structure