1 37 38 package com.lutris.appserver.debugger.presentation; 39 40 import com.lutris.appserver.server.*; 41 import com.lutris.appserver.server.httpPresentation.*; 42 43 44 45 46 52 public class AppletFrame implements HttpPresentation { 53 54 public void run(HttpPresentationComms comms) throws Exception { 55 comms.response.setContentType("text/html"); 56 73 String out="<OBJECT classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"+ 74 " width=220 height=460"+ 75 " codebase=http://java.sun.com/products/plugin/1.3/jinstall-13-win32.cab#Version=1,3,0,0>"+ 76 "<PARAM name=ARCHIVE value=Debugger.jar>"+ 77 "<PARAM name=CODE value=com.lutris.appserver.debugger.applet.DebuggerApplet>"+ 78 "<PARAM name=type value=application/x-java-applet;version=1.3>"+ 79 "</OBJECT>"+ 80 "<COMMENT>"+ 81 "<EMBED NAME=Debugger"+ 82 " TYPE=application/x-java-applet;version=1.3"+ 83 " ARCHIVE=Debugger.jar"+ 84 " CODE=com.lutris.appserver.debugger.applet.DebuggerApplet"+ 85 " WIDTH=220"+ 86 " HEIGHT=460"+ 87 " pluginspage=http://java.sun.com/products/plugin/index.html#download>"+ 88 "<NOEMBED> This browser does not appear to support Applets. </NOEMBED>"+ 89 "</EMBED> </COMMENT> </OBJECT>"+ 90 "<FONT SIZE=-2><BR></FONT>" + 91 "<CENTER><FONT SIZE=-2> <BR></FONT><A HREF=http://www.enhydra.org TARGET=eWindow>" + 92 "<IMG SRC=media/Enhydra.gif BORDER=0>" + 93 "</A></CENTER>" + 94 "</BODY></HTML>"; 95 comms.response.getOutputStream().print(out); 96 97 98 } 99 100 101 } 102 | Popular Tags |