The ShowRawDocumentApplet can be used to display raw text from within a browser that would otherwise be processed.
For example, if we try to display XML by having a link to an
.xml
file, then the browser will try to process the XML.
Unfortunately, Netscape Navigator will not display the XML, and Microsoft
Internet Explorer will display the XML, but it may try to go
out over the net to get the DTD.
The solution is a simple applet that takes a URL as an applet parameter and displays the contents in a TextWidget.