struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gemes Tibor <ge...@regens.hu>
Subject I need no module relative reference sometimes
Date Mon, 16 Sep 2002 14:41:21 GMT
I use struts the modularized way, and it works ok. But I have some tiles on my 
page, wich generate some general informations collected with the help of on 
of my struts modules. Now if the tile is included in the main module, it 
works great. But if the tile is inserted into some deeper module, the module 
prefix is inserted before its references, eg if I do a 
<bean:include>, it reports error as the resource is not found (of course, it 
looks for it in a subdirectory). 

I worked around this problem by using "href" attribute in these everywhere 
visible tiles in all link, include, etc tags, but this involves that I have 
to write not only context relative references. And this is not the best 
practice i'm afraid. 

Any ideas?

Thanx,

Tib

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message