• 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
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

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: 17346
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
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic