aspose file tools
The moose likes Servlets and the fly likes Servlet is being dowloaded Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Servlet is being dowloaded" Watch "Servlet is being dowloaded" New topic
Author

Servlet is being dowloaded

Naga Venkata Pradeep Namburi
Greenhorn

Joined: Apr 04, 2008
Posts: 13
Hi,

I came across a queer incident today. When i tried to invoke a servlet, browser is downloading a file instead of executing it. I was able to execute the servlet in one of my colleague's systems. Is there any settings in browser level or system level which could induce such behaviour.

Thanks,
N.N.V.Pradeep
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2407
Which Content-Type header is being set by the servlet? How is the browser configured for that content type?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56199
    
  13

Which container? I can't imagine any browser setting that could cause this.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Paul Clapham
Bartender

Joined: Oct 14, 2005
Posts: 16483
    
    2

Naga Venkata Pradeep Namburi wrote:When i tried to invoke a servlet, browser is downloading a file instead of executing it.
What exactly gets downloaded?
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Servlet is being dowloaded
 
Similar Threads
Deleting Cookie from Parent Window
bookmark
CGI Env Variable
How to disable AJAX
servlets and sockets