This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

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: 17271

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 - Two Laptop Bag - Tube Organizer
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.
Have you checked out Aspose?
subject: Spring ModelMap rendering problem
jQuery in Action, 3rd edition