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.
- 1How to use different account in Dreamweaver CC 2014 10-11
- 2Watching iPod photos on TV 11-09
- 3Get the report server details of a tfs instance 11-30
- 4Copy partner from PO to inbound delivery 11-30
- 5How do i delete duplicate notes? 11-30
- 6Controller Assignments not working 11-30
- 7Change Backcolor on a UDF 11-30
- 8I can't open multiple pages anymore like I used to be able to. 11-30
- My family has 1 apple id. Can my kids have separate IM accounts with this 1 apple id10/11
- Macbook/Epson projector set up11/30
- How can i get an iPhone 5 in India before it is being launched as there is the region lock11/30
- TS1368 Itunes is making my computer run high i cannot connect ot hte itunes store and itunes is frozen and will not do anything. Any suggestions? Thanks!11/30
- Problem with Currency Symbol in IR export to CVS11/30
- Servlet with Database Access!!!11/30
- Workshop 8.1 Problem11/30
- XLR - Excel 2007 Error11/30
- I tried to sync my iphone4 to my pc (not mac) and the following message went out: I tunescould not back up the iphone because an error occurred I restore my phone but nothing happened. What shall I do? (my ipad is working perfectly)11/30