This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Servlets and the fly likes For Servlet request, FireFox is opening file for JSON Data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "For Servlet request, FireFox is opening file for JSON Data" Watch "For Servlet request, FireFox is opening file for JSON Data" New topic
Author

For Servlet request, FireFox is opening file for JSON Data

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

Hi ,

I am using Google Visulization to display Column Charts .
Redraw of the chart isn't working .

I am making Ajax Requests for the Menu i developed , but FireFox is opening file for JSON Data , please see the screen shot attached<html>



This is my JSP File , I am not pasting the servlet as it is the same , please help to resolve the issue .



[Thumbnail for Postthis.jpeg]


Save India From Corruption - Anna Hazare.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

solved by using

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: For Servlet request, FireFox is opening file for JSON Data
 
Similar Threads
Jquery : Unable to pass vallue to the servlet
Is it possible to insert Somecontents into div tag supplied by google Visulization APIS??
Getting message as Invalid JSON
Struck up with JQuery task , unable to get custom objects as response
set values in a table from other