root/middleware-online/trunk/webapp/src/main/webapp/run-auth-applet-standalone.jsp @ 81

Revision 81, 1.3 KB (checked in by noliveira, 9 years ago)

Developments on Online Application

Line 
1<%@ page language="java" contentType="text/html; charset=UTF-8"
2        pageEncoding="UTF-8"%>
3<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html>
4<head>
5<title>Applet de Autentica&ccedil;&atilde;o Simples</title>
6<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
8<script type="text/javascript" src="js/deployJava.js"></script>
9<script type="text/javascript" src="js/deployJavaFixes.js"></script>
10</head>
11<body>
12        <h1>Applet de Autentica&ccedil;&atilde;o Simples</h1>
13        <script type="text/javascript">
14       
15        var attributes = {
16            'id': 'ccApplet',
17            'width': '180',
18            'height': '180'
19        };
20
21        var version = '1.6';
22
23        $.get("all_fields.xml", function(dataRequested) {
24            var parameters = {
25                    'jnlp_href': 'jnlp/auth-applet-standalone.jnlp',
26                    'auth.submit.path': '/webapp/submit.jsp',
27                    'auth.data.requested': dataRequested,
28                    'auth.headless': false,
29                    'separate_jvm': true
30       
31            };
32                deployJava.runApplet(attributes, parameters, version);
33         }, "text" );
34    </script>
35</body>
36</html>
37
Note: See TracBrowser for help on using the browser.