It's the identical .war file which shows the images when run in Tomcat 6 but not when run in Jetty configured as per the QuickStart application. The actual HTML in the rendered pages is exactly what I showed you -- Wicket generated it using AttributeModifier, and I copied the generated HTML by doing "show source" in my browser.
I'm guessing the Jetty has some default security not done in Tomcat that is "protecting" my image files, which I need to override somehow. Or maybe it is not automatically recognizing .png files as a MIME-type. Or maybe there's something else that must be configured in Jetty to tell it to look in the webapp folder for static content. I posted about this on the jetty-support mailing list last week (http://www.nabble.com/-Jetty-support--Embedded-jetty-td8400457.html#a17 679320), but no one answered it. -----Original Message----- From: Gwyn Evans [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 11, 2008 3:51 PM To: users@wicket.apache.org Subject: Re: Tomcat 5.5.9 isn't running Quickstart On Wed, Jun 11, 2008 at 9:00 PM, Frank Silbermann < [EMAIL PROTECTED]> wrote: > My application uses images much as does in Wicket's "images" example. > I have some image files (e.g. "image1.png") stored directly inside the > "webapp" folder, and my application references the images by > generating HTML like so: > ... > < img wicket:id="picture" src="image1.png" alt="Picture"/ > > > The image appears when I run the application in Tomcat, but not when I > run it in Eclipse with Jetty ... That seems odd to me - the same web-app? I'm probably way off base, but I'd be double-checking where it's actually serving it from & the HTML in the rendered pages... /Gwyn > ... --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]