IDEA provides a nice feature to validate availability of resources, just as jsp, images and css files. However, I am having trouble to set them right.
Surposing I have a web project with two resource directorys:
and I'd like to have the img tag in jsps refers images using a relative path, such as <img src="../images/myimage.gif"/>. Is it possible to have IntelliJ to validate availability this way (use ctrl click)?
So far, I can get ctrl-click to work only with an absolute path, such as <img src="/images/myimage.gif"/>. But an absolute path is actually wrong in context of jsps, as the path depends on deployment.
Message was edited by: