my dog learned polymorphism*
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 Murach's Java Servlets and JSP this week in the Servlets 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 ?
Similar Threads
Beginner's, servlet problem
Basic Servlet Problem
TOMCAT - Path to GIF files
sendRedirect problem
TOMCAT - Where to put GIFs for HTML Pages ?