aspose file tools*
The moose likes Struts and the fly likes null pointer using struts/velocity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "null pointer using struts/velocity" Watch "null pointer using struts/velocity" New topic
Author

null pointer using struts/velocity

Dan Howard
Greenhorn

Joined: Oct 10, 2004
Posts: 15
Hi all,

I'm trying to setup a project to test out velocity. Everything seemed ok until I added toolbox.xml to my WEB-INF folder. Now when I launch my main page i get:



I'm sure it's because I'm missing something but I'm not sure what.

This is what my toolbox.xml looks like:



Any ideas?

TIA
Dan Howard
Greenhorn

Joined: Oct 10, 2004
Posts: 15
Found the problem. I was missing the base action servlet configurations in my struts-config.xml. doh!
 
Don't get me started about those stupid light bulbs.
 
subject: null pointer using struts/velocity