This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes Tiles, putList and tiles-defs.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Tiles, putList and tiles-defs.xml" Watch "Tiles, putList and tiles-defs.xml" New topic
Author

Tiles, putList and tiles-defs.xml

Dane Frazier
Greenhorn

Joined: Jul 15, 2002
Posts: 18
Good day.

I am going nutz trying to figure out why I can make my simple tiles work, but when I try and use putList from tile-defs.xml in my menu tile, everything goes south...

I've tried Tomcat 4.1 and 5.0.28. I tried starting and restarting the container.

tiles-defs.xml

struts-config.xml snip...

And calling it in it's simplest form, it appears to break...
menubar.jsp:


and my "common layout" page...
commonlayout.jsp



The error is innocuous:
SEVERE: ServletException in '/menubar.jsp': Cannot find bean items in any scope

The odd thing is that this example in one for or another lives in an article by Cedric Dumoulin, a couple books: Professional Struts and Programming Jakarta Struts among many other examples.

It seems odd that something so trivial is this difficult to make work.

Anyone have any ideas why it might be breaking?

Thanks,
dane
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tiles, putList and tiles-defs.xml
 
Similar Threads
Struts error
Struts1 tiles
Tiles in struts?
Interesting tiles/struts making a menu question
Problem with struts tiles