Index: webapps/examples/index.html =================================================================== --- webapps/examples/index.html (revision 1524795) +++ webapps/examples/index.html (working copy) @@ -14,17 +14,17 @@ See the License for the specific language governing permissions and limitations under the License. --> - -
-
+
This is a collection of samples demonstrating the usage of different parts of the Java Server Pages (JSP) specification. Both JSP 2.0 and JSP 1.2 examples are presented below. @@ -34,340 +37,311 @@ They will not work if you are viewing these pages via a "file://..." URL.
To navigate your way through the examples, the following icons will
-help:
-
-
+help: + | Execute the example | -
- - | Look at the source code for the example | -
- - | Return to this screen | -
Tip: For session scoped beans to work, the cookies must be enabled.
-This can be done using browser options.
-
-
-JSP 2.0 Examples
+This can be done using browser options.
Expression Language | +
Expression Language | ||||
---|---|---|---|---|
Basic Arithmetic | -Execute | +Execute | -Source | +Source |
Basic Comparisons | -Execute | +Execute | -Source | +Source |
Implicit Objects | -Execute | +Execute | -Source | +Source |
Functions | -Execute | +Execute | -Source | +Source |
Composite Expressions | -Execute | +Execute | -Source | +Source |
SimpleTag Handlers and JSP Fragments |
+||||
SimpleTag Handlers and JSP Fragments |
||||
Hello World Tag | -Execute | +Execute | -Source | +Source |
Repeat Tag | -Execute | +Execute | -Source | +Source |
Book Example | -Execute | +Execute | -Source | +Source |
Tag Files |
+||||
Tag Files |
||||
Hello World Tag File | -Execute | +Execute | -Source | +Source |
Panel Tag File | -Execute | +Execute | -Source | +Source |
Display Products Example | -Execute | +Execute | -Source | +Source |
New JSP XML Syntax (.jspx) |
+||||
New JSP XML Syntax (.jspx) |
||||
XHTML Basic Example | -Execute | +Execute | -Source | +Source |
SVG (Scalable Vector Graphics) | -Execute | +Execute | -Source | +Source |
Other JSP 2.0 Features |
+||||
Other JSP 2.0 Features |
||||
<jsp:attribute> and <jsp:body> | -Execute | +Execute | -Source | +Source |
Shuffle Example | -Execute | +Execute | -Source | +Source |
Attributes With Dynamic Names | -Execute | +Execute | -Source | +Source |
JSP Configuration | -Execute | +Execute | -Source | +Source |
Numberguess | +
Numberguess | -Execute | +Execute | -Source | +Source |
Date | +||||
Date | -Execute | +Execute | -Source | +Source |
Snoop | -Execute | +Execute | -Source | +Source |
ErrorPage | +||||
ErrorPage | -Execute | +Execute | -Source | +Source |
Carts | +||||
Carts | -Execute | +Execute | -Source | +Source |
Checkbox | +||||
Checkbox | -Execute | +Execute | -Source | +Source |
Color | +||||
Color | -Execute | +Execute | -Source | +Source |
Calendar | +||||
Calendar | -Execute | +Execute | -Source | +Source |
Include | +||||
Include | -Execute | +Execute | -Source | +Source |
Forward | +||||
Forward | -Execute | +Execute | -Source | +Source |
Plugin | +||||
Plugin | -Execute | +Execute | -Source | +Source |
JSP-Servlet-JSP | +||||
JSP-Servlet-JSP | -Execute | +Execute | -Source | +Source |
Custom tag example | -Execute | +Execute | -Source | +Source |
XML syntax example | -Execute | +Execute | -Source | +Source |
If | -- + | ||
If | ++ Execute | -- + | + Source |
ForEach | -- + | ||
ForEach | ++ Execute | -- + | + Source |
Choose | -- + | ||
Choose | ++ Execute | -- + | + Source |
FORM Authentication | -- Execute + | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
FORM Authentication | ++ Execute | -+ | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example that demonstrates protecting a resource and
Index: webapps/examples/servlets/index.html
===================================================================
--- webapps/examples/servlets/index.html (revision 1524795)
+++ webapps/examples/servlets/index.html (working copy)
@@ -14,17 +14,20 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-
-
+
-
-
-
+
+
Servlet +Examples with CodeThis is a collection of examples which demonstrate some of the more frequently used parts of the Servlet API. Familiarity with the Java(tm) Programming Language is assumed. @@ -36,80 +39,65 @@ When playing with the Cookie and Session Examples, jump back to the Headers Example to see exactly what your browser is sending the server. To navigate your way through the examples, the following icons will
-help:
-
Tip: To see the cookie interactions with your browser, try turning on
the "notify when setting a cookie" option in your browser preferences.
This will let you see when a session is created and give some feedback
-when looking at the cookie demo.
-
-
-
-
-
\ No newline at end of file
Index: webapps/examples/websocket/chat.xhtml
===================================================================
--- webapps/examples/websocket/chat.xhtml (revision 0)
+++ webapps/examples/websocket/chat.xhtml (working copy)
@@ -0,0 +1,134 @@
+
+
+
+
+ - - -
-
-
-Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable + Javascript and reload this page!
+
+
+
\ No newline at end of file
Property changes on: webapps/examples/websocket/chat.xhtml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: webapps/examples/websocket/echo.html
===================================================================
--- webapps/examples/websocket/echo.html (revision 1524795)
+++ webapps/examples/websocket/echo.html (working copy)
@@ -1,160 +0,0 @@
-
-
-
-
- + + +
+
+
+
-
-
-
\ No newline at end of file
Index: webapps/examples/websocket/echo.xhtml
===================================================================
--- webapps/examples/websocket/echo.xhtml (revision 0)
+++ webapps/examples/websocket/echo.xhtml (working copy)
@@ -0,0 +1,169 @@
+
+
+
+
+
-
-
- Connect to service implemented using:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable + Javascript and reload this page!
+
+
+
\ No newline at end of file
Property changes on: webapps/examples/websocket/echo.xhtml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Index: webapps/examples/websocket/index.html
===================================================================
--- webapps/examples/websocket/index.html (revision 1524795)
+++ webapps/examples/websocket/index.html (working copy)
@@ -1,31 +0,0 @@
-
-
-
-
-
-
+
+
+ Connect to service implemented using:
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+Apache Tomcat WebSocket Examples- - - \ No newline at end of file Index: webapps/examples/websocket/index.xhtml =================================================================== --- webapps/examples/websocket/index.xhtml (revision 0) +++ webapps/examples/websocket/index.xhtml (working copy) @@ -0,0 +1,30 @@ + + + + +Apache Tomcat WebSocket Examples+ + + \ No newline at end of file Property changes on: webapps/examples/websocket/index.xhtml ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: webapps/examples/websocket/snake.html =================================================================== --- webapps/examples/websocket/snake.html (revision 1524795) +++ webapps/examples/websocket/snake.html (working copy) @@ -1,258 +0,0 @@ - - - - - -
-
-
-
-
-
-
-
-
Index: webapps/examples/websocket/snake.xhtml
===================================================================
--- webapps/examples/websocket/snake.xhtml (revision 0)
+++ webapps/examples/websocket/snake.xhtml (working copy)
@@ -0,0 +1,266 @@
+
+
+
+
+ Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable + Javascript and reload this page!
+
+
+
+
+
+
+
+
Property changes on: webapps/examples/websocket/snake.xhtml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
|