DesktopSSOApplet.jsp 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <html>
  3. <head>
  4. <title>ClientSSOApplet</title>
  5. <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  6. <meta http-equiv="description" content="this is my page">
  7. <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  8. <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
  9. </head>
  10. <%
  11. String path = request.getContextPath();
  12. String basePath = request.getScheme()+"://"+request.getServerName()+path+"/";
  13. //request.getRequestDispatcher( "/WEB-INF/Test.jsp").forward(request,response);
  14. %>
  15. <body>
  16. <%
  17. String typeCode="\t\t\t\t\t\t\t\t1046\tse\n";
  18. String execPath="{execPath:\"tttt\"}";
  19. String type="BOTH";//SIMULATION,PARAMETER,BOTH
  20. String encoderParam=(new sun.misc.BASE64Encoder()).encode( execPath.getBytes() );
  21. %>
  22. <applet
  23. class="body"
  24. code="com/connsec/desktop/login/DesktopSSOApplet.class"
  25. archive="<%=basePath %>desktopSSOApplet_signed.jar"
  26. width="600"
  27. height="400">
  28. <PARAM name="encoderParam" value="<%=encoderParam %>">
  29. </applet>
  30. </body>
  31. </html>