How can Channel send response data in xml format

If I create a channel, it may implement IChannel or IController interface, we can get the response data by using session objectis, but is there any body know any other way to get the response data, which is not througth session object, I hope I can use response object like response.write(....), because my jsp need to get the response data from xml file.

 

 

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Javascript is a sandbox

Javascript is a sandbox - just remember that. Javascript cannot read files from a client, or server with a few notible exceptions (AJAX, cookies, etc). If this information is stored on the Portal server, or in a Java session cookie that is hased you will be looking at these two methods.

Additionally, I am not sure what the data is, or you are trying to do with it, but Java works better with XML, and Javascripts works better with JSON data structures.

If you provide some sample code perhaps I can help.

Syndicate content