File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
(another) path problem
Joined: Feb 08, 2004
Nov 19, 2006 09:24:00
my inserts where made using php, and images where referenced using a relative path like: img/myImage.jpg
i tried locating img folder inside
folder, classes folder but neither worked
i wonder where i should have my img folder relative to my jsp (or
Author and ninkuma
Joined: Jan 10, 2002
Nov 19, 2006 09:43:00
The same answer applies. Do not use URL-relative addressing.
Closing this as it's the same question/issue.
[ November 19, 2006: Message edited by: Bear Bibeault ]
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: (another) path problem
changing filename after uploading image
tomcat6: Can't resolve The absolute uri: http://java.sun.com/jsp/jstl/core
Display images on jsp from server using absolute path
Problem in accessing dynamically created image in <img src=""> tag
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014