I really like the idea that 1.1 supports splitting an application into multiple application modules but I have the following problem.
The html:image taglib does not support using the application context root to generate the image URL, it uses the page context root. I would like all my images to be in the application context root directory. However, when I use the 'page=' attribute of the html:image tag, it appends the application module path, not the context root to the images relative URL. The only other option I have is to hard code the URL with the 'src=' attribute.

Would like to do:

context root = /
images = /images/*.gif
application module = /modulename/*.jsp


Currently have to do:

context root = /
application module = /modulename/*.jsp
images = /modulename/images/*.gif

Note: this forces me to replicate the images in each application module directory.

Does anyone have any ideas?

- Ron Hulen



--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to