• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to upload a audio file using REST webservice in Google App Engine for Java

 
Sabarish Venkat
Ranch Hand
Posts: 136
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am using google app engine with eclipse IDE and trying to upload a audio file. I used the File Upload in Google App Engine For Java and can able to upload the file successfully. Now am planning to use REST web service for it. I had analyzed in developers.google but i failed. Can anyone suggest me how to implement REST Web services in google app engine using Eclipse.

The code google provided is shown below,



Now how to provide a rest web service for the above code. Kindly suggest me an idea.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


ALL classes used in servlets MUST be in a package to avoid mysterious errors. The reason being that the JVM looks for "default" classes in the "current" directory, something you have no control over in the servlet environment.

Bill
 
Sabarish Venkat
Ranch Hand
Posts: 136
Java MySQL Database Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks william, I will see to that. Can you tell me how i can implement REST web services in the above code. Am bit confused how and where to implement. Kindly guide me.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic