You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xap-dev@incubator.apache.org by "Turyn, Michael (JIRA)" <xa...@incubator.apache.org> on 2006/11/30 20:58:21 UTC

[jira] Commented: (XAP-182) retrieve(url) method in xap.requestservice.RequestService does not return string

    [ http://issues.apache.org/jira/browse/XAP-182?page=comments#action_12454752 ] 
            
Turyn, Michael commented on XAP-182:
------------------------------------

This is not a bug; this is how it works.  It returns a 'content' object  which is of the class XMLHttpResponse (see http://en.wikipedia.org/wiki/XMLHttpRequest).  To get the string retrieved, use <object>.responseText or <object>.responseXML.

On second thought, there is a bug:  with the documentation, since it says "String"....fixed.

> retrieve(url) method in xap.requestservice.RequestService does not return string
> --------------------------------------------------------------------------------
>
>                 Key: XAP-182
>                 URL: http://issues.apache.org/jira/browse/XAP-182
>             Project: XAP
>          Issue Type: Bug
>         Environment: Studio 3.0, Platform 4.5.1, JDK 1.5
>            Reporter: Jing Wang
>
> Calling retrieve method doesn't return a string, it returns an object instead.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira