intermittent File Download dialog appearing for *.JSF files

Hi All,

If anyone could help me with the following, highly obscure problem, I would be most grateful:

intermittently, users are asked to download and save a JSF view by their browser (this is happening with Firefox and IE) instead of serving the JSF view as HTML as per normal. The "File Download" dialog seems to appear randomly and does not occur to some users on one network, but occurs regularly to users on another network. We' using Tomcat 6.0.10 with MyFaces.

If anyone has experienced a similar problem before could you please let me know along with any possible fixes you have found. Could this be a problem with the servlet engine? Could this be a problem caused by our load balancers? Or by a proxy server?

TIA...

Ricardo

[770 byte] By [ricardoga] at [2007-11-27 8:24:36]
# 1

Never seen it and I been programming with JSF (many versions, implementations) for 2 years. I would suggest someone is mucking around with the mime type in the response. What web server are you using?

I certainly would start looking at your network (web server, load balancers, proxy server, etc).

smurray_eriea at 2007-7-12 20:13:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2

Hi smurray_erie,

Thanks for your response.

We're running Apache 2.2 as our load balancing proxy/web sever. I suspect you're right, that it is something to do with our proxies. Nothing in the code is messing with the HTTP header content types AFAICT.

If anyone could suggest some specific cause, I would be most grateful.

TIA

Ricardo

ricardoga at 2007-7-12 20:13:43 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...