This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Tomcat and the fly likes TOMCAT - Where should  GIFs be placed ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic

TOMCAT - Where should GIFs be placed ?

John Thomas

Joined: Dec 19, 2001
Posts: 8

My question is which directory in TOMCAT should I put the GIF files that the Servlet uses.
My Tomcat is installed at c:\jak-tomcat
I copy the Servlet classes ( e.g. Serv01.class ) to
I access the Servlet using
If I want to include a GIF file ( pic01.gif ) as part of the HTML that the Servlet (Serv01) generates, what is the path for SRC parameter in IMG tag and where should I place the GIF, in the directory structure ?.
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
This question has been answered in the Servlets Forum. Please don't post the same question to more than one forum.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
I agree. Here's the link:
subject: TOMCAT - Where should GIFs be placed ?
jQuery in Action, 3rd edition