Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NullPointerException on tiles

 
Songezo Nkukwana
Ranch Hand
Posts: 51
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello good forumites ... First time here & glad to end up here .. I'm pretty new in almost everything on Java but not doing too bad... I have a small app using tiles with struts on JSP

Here's my tile definition ...


and my JSP



Please note that i've commented all insertions of tiles, but still get the Exception, so problem is not likely to be on my JSP

stack trace


Please help!
 
Songezo Nkukwana
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could a missing struts-tiles.jar be causing this perhaps? I've added struts-tiles.jar but get a ClassNotFoundError for TilesPlugin. I think because TilesPlugin appears in both struts.jar & struts-tiles-1.3.5.jar ... This is my second day still stuck on the same problem
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We might find better answers in the more appropriate Struts forum. So I will move this there for ya.

Good Luck, and make sure you don't go over board with tiles definitions and its inheritance. I once worked on a project where tiles definitions went 6 levels deep in heirarchy, and things like level 2 and 5 added absolutely nothing.

Mark
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic