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

Revision 72, 1.2 KB (checked in by vsilva, 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">
4<html>
5<head>
6<title>Applet de Autentica&ccedil;&atilde;o Simples</title>
7<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
8<script type="text/javascript" src="js/jquery-1.7.1.min.js"></script>
9<script type="text/javascript" src="js/deployJava.js"></script>
10<script type="text/javascript" src="js/deployJavaFixes.js"></script>
11<script type="text/javascript" src="js/reloader.js"></script>
12</head>
13<body>
14        <h1>Applet de Autentica&ccedil;&atilde;o Simples</h1>
15        <script type="text/javascript">
16       
17        var attributes = {
18            id: 'ccApplet',
19            width: 180,
20            height: 180
21        };
22
23        var version = '1.6';
24
25        $.get("all_fields.xml", function(dataRequested) {
26            var parameters = {
27                    'jnlp_href': 'jnlp/auth-applet-standalone.jnlp',
28                    'auth.submit.path': '/webapp/submit.jsp',
29                    'auth.data.requested': dataRequested,
30                    'auth.headless': false
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.