File: hello.jsp

package info (click to toggle)
jabsorb 1.3-2
  • links: PTS, VCS
  • area: non-free
  • in suites: squeeze, wheezy
  • size: 2,832 kB
  • ctags: 1,483
  • sloc: java: 10,590; jsp: 420; xml: 372; makefile: 8
file content (26 lines) | stat: -rw-r--r-- 812 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<jsp:useBean id="JSONRPCBridge" scope="session"
             class="org.jabsorb.JSONRPCBridge"/>
<jsp:useBean id="hello" scope="session"
             class="org.jabsorb.test.Hello"/>
<% JSONRPCBridge.registerObject("hello", hello); %>
<html>
<head>
  <script type="text/javascript" src="jsonrpc.js"></script>
  <script type="text/javascript" src="hello.js"></script>
  <title>jabsorb Hello</title>
</head>
<body bgcolor="#ffffff" onLoad="onLoad()">
<h2>jabsorb Hello</h2>

<p>The jabsorb <em>Hello World</em> application.</p>

<p>
  <strong>Who:</strong>
  <input type="text" id="who" size="30" value="Michael"/>
  &nbsp;
  <input type="button" value="Say Hello" onclick="clickHello()"/>
</p>
</body>
</html>