• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

NullPointerException on tiles

 
Ranch Hand
Posts: 51
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
ranger
Posts: 17347
11
Mac IntelliJ IDE Spring
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
A sonic boom would certainly ruin a giant souffle. But this tiny ad would protect it:
New web page for Paul's Rocket Mass Heaters movies
https://coderanch.com/t/785239/web-page-Paul-Rocket-Mass
reply
    Bookmark Topic Watch Topic
  • New Topic