Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring ModelMap rendering problem

 
fu bace
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, the root cause is this

Caused by: java.io.IOException: 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.

Mark
 
fu bace
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i changed



with



in web.xml and it worked but i dont have any idea.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic