我刚开始使用SSHTerm在我的网站中嵌入终端客户端,但我希望在新窗口中打开Applet。有没有办法从带有参数的Applet中执行此操作(因此窗口与Applet的大小相同)?
<applet width="640" height="480" archive="SSHTermApplet-signed.jar,SSHTermApplet-jdkbug-workaround-signed.jar,SSHTermApplet-jdk1.3.1-dependencies-signed.jar"
code="com.sshtools.sshterm.SshTermApplet" codebase="." style="border-style: solid; border-width: 1; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1">
<param name="sshapps.connection.host" value="host.domain.com">
<param name="sshapps.connection.userName" value="root">
<param name="sshapps.connection.connectImmediately" value="true">
<param name="sshapps.connection.authenticationMethod" value="password">
</applet>