Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Rest webservice msg on browser

 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 153
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic