This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Rest webservice msg on browser

 
ujwwala tem
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to run a webservice(Rest) as per the article http://www.techpages.org/webservice/simple-restful-web-services-using-java-and-mysql-example/2009/
and in my but I am not getting response from webservice ,
If I write System.out.println("Logged in User")then it prints but If I write return Logged in user+username it is asking in a dialogue box apperaing to save or open the file,

Is this related to any MIME type something,

Please reply,

Thanks,
Uj
 
Malatesh Karabisti
Ranch Hand
Posts: 153
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are testing the application through browser, can you please post the request and response header ?. You can capture these header using the rest clients like 'Rest Console' or any other Rest service clients.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!