Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to print the transfered object ( a XML file) to the browser?

cake naiyou
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am implementing an applet module which receiving an object sent from a servlet.

The following is used to setup connection.

The following is the code segment for receiving "result object" from servlet.

At present, the code can work. In specific, the line of

is able to output the generalized XML file in the Eclipse console. The corresponding XML file can also be generated through

Currently, I want to directly output this XML file to the browser. How to do it? Thanks.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic