restlet-tutorial icon indicating copy to clipboard operation
restlet-tutorial copied to clipboard

Take into account Restlet Framework documentation issues

Open jlouvel opened this issue 12 years ago • 5 comments

See the list of doc issues: https://github.com/restlet/restlet-framework-java/issues?labels=Documentation&page=1&state=open

jlouvel avatar Sep 04 '12 08:09 jlouvel

Hi I found an issue about tutorial

http://restlet.com/technical-resources/restlet-framework/tutorials/2.3#part01

@Get("json") public String toString() { return "hello, world"; }

marti1125 avatar Mar 19 '15 17:03 marti1125

Hi @marti1125 , if I understand well, you point the fact that the toString method is simply annotated with the @Get annotation whithout any parameter, whereas you would like to add the "json" parameter?

thboileau avatar Mar 19 '15 18:03 thboileau

yes it works but I see an error so I decided to add "json" error_xml

marti1125 avatar Mar 19 '15 18:03 marti1125

Thanks @marti1125 , I've added the "txt" parameter which is better than "json".

thboileau avatar Mar 19 '15 19:03 thboileau

:+1: how to I can deploy a maven java app ?

marti1125 avatar Mar 19 '15 19:03 marti1125