Hello again!
I made all the necessary changes in my code but still I did not manage to solve 
the problem. I am attaching again the modifyied  classes.

In the previous message you said that MyResource class is ok so I did not 
modify anything there!! 

Now, my Application class  as you noticed has already one restlet so the new 
code that u post handled accordingly. I dont know of course if I did the new 
insertations correct.
The application now produces the following warning message:

org.restlet.routing.Filter doHandle
WARNING: A filter was executed without a next Restlet attached to it. 

and I have an http status error 500.

Finally, a couple other things:
a) I call the Resource URI like :
i.e http://localhost:8181/images_path/thepath/file/the_file_with_extension 
b)
How must I write the root c:// or c:\\ (windows)? 
How must I write directories,filenames  / or \ or // or \\ ?

Thank u again!

ps. New code with red font color in MyApplication class.

Best regards,
Miltos Miltiadous

Attachment: TestingFileRepresentation.rar
Description: document/unknown

Reply via email to