• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

(another) path problem

 
miguel lisboa
Ranch Hand
Posts: 1281
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
my inserts where made using php, and images where referenced using a relative path like: img/myImage.jpg

i tried locating img folder inside jsp folder, classes folder but neither worked
i wonder where i should have my img folder relative to my jsp (or servlet)

TiA
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65124
91
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See http://www.coderanch.com/t/363648/Servlets/java/css-path.

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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic