Hi Sherif,
.js is javascript
.json is json :0)
There is no need to add js or json to the MetadataService as it comes
with a bunch of common ones already.
Remove that line, and try
http://localhost:8080/firstStepsServlet/Hello.json (Notice the JSON)
Jon
Sherif wrote:
>
> Thanks Jonathan..
>
>
Thanks Jonathan..
1. Here's what I did to support lets say ".js" as an extension to
indicate JSON as the content type
public class FirstStepsApplication extends Application {
/**
* Creates a root Restlet that will receive all incoming calls.
*/
@Override
public R
2 matches
Mail list logo