This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Spring ModelMap rendering problem

 
fu bace
Greenhorn
Posts: 24
  • 0
  • 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: 17276
6
IntelliJ IDE Mac Spring
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic