Hi all! I solved the problem on my own: Because I have to use struts 1.0 and contextRelative and module are not available, I have overloaded the Class vor the Image-Tag and now it works.
Bye Christian "Struts Users Mailing List" <user@struts.apache.org> schrieb am 07.02.05 17:39:47: > > Hi all! > > I have a very big problem with using Tiles with modules. > > I have the following project-Structure: > /WebContent > /WebContent/Images > /WebContent/Layout > /WebContent/MyModule > > with some parts with modules and some without. > > I am using a central layout.jsp out of the /WebContent/Layout-Directory for > the whole project and any JSPs. It contains the header of my pages with a > Logo in it done by a <html:img page="/Images/myLogo.jpg" />-Tag. > > If I am calling any JSP which is not Module-based, the link is replaced by > <img src="/myProject/Images/myLogo.jpg"> > and is displayed correct. If I am calling a JSP out of e.g. MyModule, it is > replaced by > <img src="/myProject/MyModule/Images/myLogo.jpg" > > and is not displayed, because I do not have any Images-Directory in the > "MyModule"-Directory. > > I have the same problem with my external Javascript-File and my CSS-File > which are referenced by a <html:rewrite />-Tag. > > Does anyone has an solution how I get the correct path to use only one > Template-File per Project and one Images-Directory per Project and not one > for each Module? > > Muchos Gracias! > > Christian > > ______________________________________________________________ > Verschicken Sie romantische, coole und witzige Bilder per SMS! > Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]