hi guys actually i been searching the net for the past days on how to put a background /and or image in apache-tomcat-6.0.29
can you check if something is wrong with my code?
i mean if i wanted to put something like .jpg

where should i put it in my apache webapps folder

im currently using this kind of code just to show some background but the source expires and i think there's a beter way to put image in apache pw.println("<body background = http://i632.photobucket.com/albums/uu43/hellkosmos/4.jpg?t=1303140547>"); best of thanks to you guys

Member Avatar

you should place the image in ~/tomcat/webapps/yourapp/WebContent/images/

And then use:

pw.println("<body background=../webapps/yourapp/WebContent/images/hellkosmos/4.jpg>");

Cool image btw.