aspose file tools*
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
JavaRanch » Java Forums » Products » Tomcat
Reply locked New topic
Author

TOMCAT - Where should GIFs be placed ?

John Thomas
Greenhorn

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
c:\jak-tomcat\webapps\ROOT\WEB-INF\classes
I access the Servlet using
http://localhost:8080/servlet/Serv01
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 ?.
Thanks
John
Frank Carver
Sheriff

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 frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: TOMCAT - Where should GIFs be placed ?