Win a copy of The Career Toolkit this week in the Jobs Discussion forum!
    Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Jj Roberts
  • Carey Brown
Bartenders:
  • salvin francis
  • Frits Walraven
  • Piet Souris

TOMCAT - Where should GIFs be placed ?

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator

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
 
Sheriff
Posts: 6920
  • Mark post as helpful
  • send pies
  • Report post to moderator
This question has been answered in the Servlets Forum. Please don't post the same question to more than one forum.
    Bookmark Topic Watch Topic
  • New Topic