~ubuntu-branches/ubuntu/utopic/jetty/utopic-proposed

« back to all changes in this revision

Viewing changes to examples/test-webapp/src/main/webapp/jsp/bean2.jsp

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2009-08-09 08:48:10 UTC
  • Revision ID: james.westby@ubuntu.com-20090809084810-k522b97ind2robyd
ImportĀ upstreamĀ versionĀ 6.1.19

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<%@ page session="true"%>
 
3
<body>
 
4
<jsp:useBean id='counter' scope='session' class='com.acme.Counter' type="com.acme.Counter" />
 
5
 
 
6
<h1>JSP1.2 Beans: 2</h1>
 
7
 
 
8
Counter accessed <jsp:getProperty name="counter" property="count"/> times.<br/>
 
9
Counter last accessed by <jsp:getProperty name="counter" property="last"/><br/>
 
10
<jsp:setProperty name="counter" property="last" value="<%= request.getRequestURI()%>"/>
 
11
 
 
12
<a href="bean1.jsp">Goto bean1.jsp</a>
 
13
 
 
14
</body>
 
15
</html>