Hi again,

Found the problem.

      getLogger().log(Level.INFO, "submitted json=((" + json + "))");

outputs the following:

      "submitted json=((...some valid JSON text...)): <null>"

Conclusion:
      java.util.logging.Logger.log(Level level, String msg)

adds the ": <null>"

How helpful of it.

Regards
Donald.



                                                                           
             Donald S Strong                                               
             <donald.str...@tr                                             
             ansport.vic.gov.a                                          To 
             u>                        discuss@restlet.tigris.org          
                                                                        cc 
             11/02/09 05:34 PM                                             
                                                                   Subject 
                                       PUT weirdness                       
             Please respond to                                             
                  discuss                                                  
             <disc...@restlet.                                             
                tigris.org>                                                
                                                                           
                                                                           




Hi all,

We are trying to PUT a JSON representation from an Ajax client to a restlet
web service.
The entity body that we recieve on the server has a <null> appended to it.

Anyone know why are we getting the null?

Regards
Donald.






**********************************************************************
Any personal or sensitive information contained in this email and
attachments must be handled in accordance with the Victorian Information
Privacy Act 2000, the Health Records Act 2001 or the Privacy Act 1988
(Commonwealth), as applicable.

This email, including all attachments, is confidential.  If you are not the
intended recipient, you must not disclose, distribute, copy or use the
information contained in this email or attachments.  Any confidentiality or
privilege is not waived or lost because this email has been sent to you in
error.  If you have received it in error, please let us know by reply
email, delete it from your system and destroy any copies.
**********************************************************************

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=1137904

Reply via email to