my dog learned polymorphism
The moose likes Servlets and the fly likes where to put the gif file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "where to put the gif file" Watch "where to put the gif file" New topic

where to put the gif file

Deepa Balasubramanayam
Ranch Hand

Joined: Mar 29, 2001
Posts: 39
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

Joined: May 10, 2001
Posts: 59
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===>
This should work..
Get back to me if this works ,o.k
srivatsan srinivasan

Joined: Jun 08, 2001
Posts: 26
in the java web server you have to put the gif in the
public_html directory
I agree. Here's the link:
subject: where to put the gif file
It's not a secret anymore!