• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

where to put the gif file

 
Deepa Balasubramanayam
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have coded one servlet and I am calling one gif file. I have java web server and moved the class file to the servlet directory. But I do not know which folder I have to place the gif file.

------------------
 
kichu kichu
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai deepa,
Create a folder called images inside your folder where u are storing your jsp files ,servlets whatever..
Then appropriately access the image giving the path===>
"images/image1.gif"
This should work..
Get back to me if this works ,o.k
regards,
kichu
 
srivatsan srinivasan
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in the java web server you have to put the gif in the
public_html directory
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic