Hello,
I am new to this forum and trying to learn Spring.
I have a problem with a ModelAndView in my controller
and was wondering if anyone can help me out.
I hava a simple Administrator login page, when the administrator
logged in succesfully he comes to a page with a link directing to
a list of products. When he clicks te link I pass the list in a ModelAndView
with the
JSP path it needs to call, but it seems to look for a different path.
Here is the admin page:
And here is the controller code
I also use a prefix and suffix in my controller xml file as you can see here:
So when I click the link on the administrator page I expect it to look for
"/ChocoWereld/WEB-INF/JSP/administrator/productlijst.jsp", instead i get:
"The requested resource (/ChocoWereld/WEB-INF/JSP/administrator/producten.jsp) is not available.".
I must be making some mistake but I can't figure it out. Help would be much appreciated.
Thanks!