alvinalexander.com | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (bean1.jsp)

This example Jetty source code file (bean1.jsp) is included in the DevDaily.com "Java Source Code Warehouse" project. The intent of this project is to help you "Learn Java by Example" TM.

Java - Jetty tags/keywords

beans, beans, counter, counter, goto, goto

The Jetty bean1.jsp source code

<html>
<%@ page session="true"%>
<body>
<jsp:useBean id='counter' scope='session' class='com.acme.Counter' type="com.acme.Counter" />

<h1>JSP1.2 Beans: 1

Counter accessed <jsp:getProperty name="counter" property="count"/> times.
Counter last accessed by <jsp:getProperty name="counter" property="last"/>
<jsp:setProperty name="counter" property="last" value="<%= request.getRequestURI()%>"/> <a href="bean2.jsp">Goto bean2.jsp </body> </html>

Other Jetty examples (source code examples)

Here is a short list of links related to this Jetty bean1.jsp source code file:

... this post is sponsored by my books ...

#1 New Release!

FP Best Seller

 

new blog posts

 

Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.

A percentage of advertising revenue from
pages under the /java/jwarehouse URI on this website is
paid back to open source projects.