Tomcat not loading images with mod_jk
AdvertisementI have images stored in a database which when retrieved have the extension .tmp when I view these images using tomcat they are recognised as being jpeg or bmp files etc. and are displayed as images.
When the same images are viewed using tomcat through apache using the mod_jk module, the images appear as text.
If I try viewing the same images in apache on its own they appear fine. To repeat this, take a jpeg file and change its extension to .tmp place the file in a tomcat application, lookat the image using tomcat on its own //localhost:8080/myapp/myimage.tmp it appears fine, look at it using apache using mod_jk //localhost/myapp/myimage.tmp and it appears as text. Has anyone got any clue as to how to fix this.
I am using apache 2.0 with mod_jk 1.2.15 and jakarta-tomcat-5.0.28
Any help would be most appreciated, mod_jk drives me mad!!!. Thanks Mike.
Advertisementwebmail which i access through safari on my imac and ipad. For the last couple of days images have stopped loading with all my emails
Try emptying the cache on your iMac and iPad.
One the iMac with Safari open, press Command + Option + E on the keyboard. Quit and relaunch Safari to test.
On the iPad. Tap Settings > Safari. Tap Clear History then tap Clear Cookies and Data. Restart your iPad.
- 1Scrollfunction from the touchpad on a Satellite A100-812 does not work 10-11
- 2Firefox is crahsing whenever I try to print a document from web or email. I run Window XP and firefox version is 3.6.12 10-11
- 3Recommend me a new hard drive for 17" MBP 10-11
- 4I recently switched from PC to a Mac Book Pro and some things are different. I used to be able to open a jpeg or tiff in camera raw on my PC in Photoshop CS6 by going to file, open as, picking my image under file name and "open as" click on camera raw. Ho 10-11
- 5Startech VGA splitter ST124L. 11-30
- 6Field with maximum length about 2000 characters? 11-30
- 7Will MM-SUS supports with Limit POs? 11-30
- 8HT3406 Is it possible to convert a Verizon iphone 4 (CDMA) to an ipod touch since it does not have a SIM card? 11-30
- Link to external avi/mov into flash?10/11
- How to work on temp table in oracle 10g10/11
- No sound on recorded videos11/30
- Time machine + restore all messed up11/30
- POWL, how to display icons11/30
- Price Diff & Quantity both are not shown in MRBR at a one time.11/30
- Trouble with export and import11/30
- Is there a dynamic delay for feedback z nodes?11/30
- How to Add new Manual address in ADRC?11/30
- In which SNP_% table ODI stores the KM options?11/30