I would solve this probably by extending the Struts img-Tag with my own. This shouldn't be too difficult since you have all the sources for the img-Tag. HTH, Christoph alu, artifex wrote: > hi list, > > i'm working on a struts web application which should give the users the > possibility to choose > the graphical layout of the application (images, sounds or general media > objects) from a predefined > collection of "stylesets". if the user logs in his chosen styleset is > read from a database and stored > in his session. now i only need to know what the best practice is to > render the view components > using the styleset data from the users session. > > i don't want to use messageresources because imho it would be too much > effort. so i decided to > put all the images in directories according to the stylesetname: > > i.e: > /stylesets//images/0001.png > ===> /stylesets/default/images/0001.png > /stylesets/minimalistic/images/0001.png > > now i'm searching for a way to render those images in my jsp page using > the struts taglib. > can i use or even to generate those urls? the > name of the image is > static, only the directory name should be dynamic. > > thanks in advance > art > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org > For additional commands, e-mail: user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org