Skip to content

Commit a279df2

Browse files
author
Arun Gupta
committed
Better messages and NetBeans configuration file
1 parent 01574f0 commit a279df2

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project-shared-configuration>
3+
<!--
4+
This file contains additional configuration written by modules in the NetBeans IDE.
5+
The configuration is intended to be shared among all the users of project and
6+
therefore it is assumed to be part of version control checkout.
7+
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
8+
-->
9+
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
10+
<!--
11+
Properties that influence various parts of the IDE, especially code formatting and the like.
12+
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
13+
That way multiple projects can share the same settings (useful for formatting rules for example).
14+
Any value defined here will override the pom.xml file value but is only applicable to the current project.
15+
-->
16+
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>gfv3ee6</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
17+
</properties>
18+
</project-shared-configuration>

websocket/subprotocol/src/main/webapp/index.jsp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,19 @@
4545
<html>
4646
<head>
4747
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
48-
<title>WebSocket Subprotocols</title>
48+
<title>WebSocket : Subprotocols</title>
4949

5050
</head>
5151
<body>
52-
<h1>WebSocket Subprotocols</h1>
52+
<h1>WebSocket : Subprotocols</h1>
5353

5454
<div style="text-align: center;">
5555
<form action="">
5656
<input onclick="echoText()" value="Echo" type="button">
5757
<input id="myField" value="WebSocket" type="text"><br>
5858
</form>
5959
</div>
60+
<br><br>Look for on-the-wire messages for subprotocol negotiation
6061
<div id="output"></div>
6162
<script language="javascript" type="text/javascript" src="websocket.js">
6263
</script>

0 commit comments

Comments
 (0)