Hello,
As I am building a new (frist time) struts app. I am looking for some insight
as to the best way to handle jsp page images.
To make a long story short, my folder structure is this:
/dealer
/dealer/images
/dealer/WEB-INF
/dealer/etc.
So all my <img src="/images/etc."> were like this. But because of some IPlanet
configuration, my admin, told me we have to change our folder structure so not
it is like this:
/dealer/webapp
/dealer/webapp/images
/dealer/webapp/WEB-INF
/dealer/webapp/etc.
But for some reason the dns is looking at /dealer/webapp as one entity. And I
would have to put the /dealer/images in front of all paths. This is ok, but
when I use the html:img tags, some tags seem to use the context and I can use
/images again. But others do not.
I figured this group has probably built quite a few struts apps, and I am
looking for some "best practice" ideas, because this app will be deployed many
times and I do not want to change links later on in the pages.
Thanks,
Scott