URL and showDocument

webmasterbeta

New Member
I know about showDocument and the URL class and how to use them. But has anyonetried using it with the java 1.2 browser plug-in? I need to use that plug-inbecause I use swing components and JApplet. The problem is, without the plug-in,the following works:<P>URL url = new URL("javascript:<HEAD><TITLE>title</TITLE></HEAD><BODY>Hello!</BODY>");<P>But when include the plug-in, the above will throw a Malformed Exceptionerror! why is that? why should the plug-in affect how class URL works?<P>has anyone solved this? please help, I really need to tell a browser todisplay HTML generated from within my applet...
 
Back
Top