wood burning stoves 2.0*
The moose likes Struts and the fly likes NullPointerException on tiles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "NullPointerException on tiles" Watch "NullPointerException on tiles" New topic
Author

NullPointerException on tiles

Songezo Nkukwana
Ranch Hand

Joined: Nov 27, 2008
Posts: 51
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

Joined: Nov 27, 2008
Posts: 51
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

Joined: Feb 05, 2001
Posts: 17249
    
    6

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


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
 
subject: NullPointerException on tiles
 
Similar Threads
Struts error
unable to add tiles
Trying to use Tiles--Little success :-(
component context is not defined. Check tag syntax
Tiles winding me up.