home | career | drupal | java | mac | mysql | perl | scala | uml | unix  

Jetty example source code file (bean2.jsp)

This example Jetty source code file (bean2.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 bean2.jsp source code

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

<h1>JSP1.2 Beans: 2

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="bean1.jsp">Goto bean1.jsp </body> </html>

Other Jetty examples (source code examples)

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

my book on functional programming


new blog posts


Copyright 1998-2019 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.