aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "where to put the gif file" Watch "where to put the gif file" New topic
Author

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===>
"images/image1.gif"
This should work..
Get back to me if this works ,o.k
regards,
kichu
srivatsan srinivasan
Greenhorn

Joined: Jun 08, 2001
Posts: 26
in the java web server you have to put the gif in the
public_html directory
 
Don't get me started about those stupid light bulbs.
 
subject: where to put the gif file