• Post Reply Bookmark Topic Watch Topic
  • New Topic

Servlet is being dowloaded

 
Naga Venkata Pradeep Namburi
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Saloon Keeper
Posts: 3264
54
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which container? I can't imagine any browser setting that could cause this.
 
Paul Clapham
Sheriff
Posts: 21892
36
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!