File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Spring and the fly likes Spring ModelMap rendering problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring ModelMap rendering problem" Watch "Spring ModelMap rendering problem" New topic

Spring ModelMap rendering problem

fu bace

Joined: Oct 16, 2009
Posts: 24
Hi i have a multiactioncontroller and have this method

and i have a jsp

prints temp

prints temp

exception occurs

Do you have any idea. if you wonder i am using tiles.

Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

Well, the root cause is this

Caused by: JSPException while including path '/WEB-INF/pages/product/site_admin/productCategoryList.jsp'. ServletException while including page.

So the include that you have is probably wrong. It can't find the productCategoryList.jsp

What happens if you remove the first "/" in front of WEB-INF

Pathing always gives me fits too.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
fu bace

Joined: Oct 16, 2009
Posts: 24
As you see above, exception occurs when i refer ModelMap key in cut. Tiles is working in first and second jsp. The problem is with third jsp
fu bace

Joined: Oct 16, 2009
Posts: 24
i changed


in web.xml and it worked but i dont have any idea.
I agree. Here's the link:
subject: Spring ModelMap rendering problem
It's not a secret anymore!