• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Junilu Lacar
  • Liutauras Vilda
Sheriffs:
  • Paul Clapham
  • Jeanne Boyarsky
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
Bartenders:
  • Jesse Duncan
  • Frits Walraven
  • Mikalai Zaikin

Tiles, putList and tiles-defs.xml

 
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
pie. 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