Hi, wicket-users, I just upgraded several Wicket sites from 1.2.4 to 1.3. I now have a problem where images in a folder called 'resources' won't appear. In other words, I have a WAR source directory of 'src/main/webapp' which has images in a folder 'resources'. My HTML then has images referenced by:
<img src="resources/button.gif" /> Attempts to view these images result in error: ERROR [SharedResourceRequestTarget] shared resource button.gif not found I have other folders, such as 'src/main/webapp/[anything but 'resources']' and images serve just fine out of those folders. In fact, if I simply rename 'resources' to 'resources1' and update my HTML everything works. The problem is I have 3 webapps and many images with this problem and, more importantly, a political issue with going back to the HTML designers if we can't use 'resources' as a folder name anymore. Interestingly, if I attempt to serve an image in a folder under 'resources', such as 'resources/tabs/tab.gif' I get exception: ERROR [SharedResourceRequestTarget] unable to lazily register shared resource resources/tabs/tab.gif java.lang.ClassNotFoundException: resources ... (SharedResourceRequestTarget:146) Is there a workaround so I can use the name 'resources'? Perhaps a way to explicitly declare a resource path alias? Enrique --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
