I'm using Eclipse to create/test JSP pages. Can anyone give me any guidance as to where I should be putting my graphic files? Standard HTML says that if the graphic is in the same directory as the Web page, the code should work.
Just because you're using Eclipse doesn't mean that web apps aren't required to be in WAR form. The same rules apply as do when you're not using Eclipse at all.
Actually, I don't dump my images in my webapp root. I keep an images directory and put them there. Also, commonly a JavaScript (js) and a style directory. It keeps the size of the webapp root down, organizes things neatly and consistently, and makes it easier if I need to set up special access-control rules.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
If you open the box, you will find Heisenberg strangling Shrodenger's cat. And waving this tiny ad:
a bit of art, as a gift, the permaculture playing cards