|

楼主 |
发表于 2008-5-16 08:41:17
|
显示全部楼层
我是这么做的:
test.asp
<html>
<body>
<form action="gojustep.asp" method="post">
用户名<input name='user' type='text'>
密码<input name='pwd' type='password'>
<input type="submit" value="提交">
</form>
</body>
</html>
gojustep.asp
<HTML>
<HEAD>
<title>Business业务架构平台</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</HEAD>
<BODY leftmargin="0" topmargin="0">
<OBJECT id = "X3X"
classid="clsid:317C9AA7-315B-4D4E-B9CE-2F0A08A7749E"
codebase="http://10.124.21.69:8081/x3/X3X.CAB#version=3,0,6,3001"
width="100%"
height="100%"
align=center
hspace=0
vspace=0
>
</OBJECT>
<%
username=request("user")
password=request("pwd")
%>
<script type="text/javascript">
X3X.ServerURL = "Socket://10.124.21.69:2048";
X3X.ShowSplash();
X3X.UpdateVersion();
X3X.Init();
X3X.CloseSplash();
X3X.Logon("<%=username%>","<%=password%>");
X3X.Run ("", "", "", "");
document.title = X3X.DisplayName;
</script>
</BODY>
</HTML>
运行后显示
|
|