LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2004, 11:38 AM   #1
rmcushing
LQ Newbie
 
Registered: Oct 2004
Posts: 1

Rep: Reputation: 0
Tomcat Header Question


Does anyone have any idea how to enforce cache-control headers on objects like .gif's and .jpgs on Tomcat 5. IIS has this ability, and is a frequent discussion found on google. I am not finding much resources to J2EE systems, specifically Tomcat 5.

Thanks,
 
Old 10-18-2004, 06:20 PM   #2
jandersen78
LQ Newbie
 
Registered: Sep 2004
Location: Provo, UT
Distribution: Fedora Core 2
Posts: 15

Rep: Reputation: 0
Couldn't you use Apache to serve .gif, .jpg, etc. files and make use of mod_expires to handle the cache-control headers?

http://httpd.apache.org/docs-2.0/mod/mod_expires.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Idiotic question about C header cigarstub Programming 2 09-23-2005 12:54 AM
hdr(header file) question? bbmak Linux - Newbie 1 09-10-2004 01:45 AM
tomcat question ChangeOfPace Linux - Software 7 03-19-2003 03:41 PM
Antiquated header file question? GoboFraggle Programming 1 02-05-2003 11:52 PM
tomcat question.. doublefailure Linux - Software 0 07-30-2002 04:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration