Code Search for Developers
 
 
  

displayUsers.jsp from Frame2 Web Application Framework at Krugle


Show displayUsers.jsp syntax highlighted

<%@ page language="java" contentType="text/html" %>
<%@ taglib uri="taglib.tld" prefix="frame2" %>
<%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>
<%@ taglib uri="template_taglib.tld" prefix="template" %>
<template:insert definition="defaultTopLayout">
	<template:param name="page_title" value="Display Users"/>
</template:insert>
<c:choose>
  <c:when test="${!empty displayUsers.users}">
    <TABLE width=75%>
  	<TH align="left" width=15%>User Name</TH>
    <TH align="left" width=20%>Email Address</TH>
  	<c:forEach items="${displayUsers.users}" var="nextUser">
  	<tr>
  	<td><c:out value="${nextUser.userName}"/></td>
  	<td><c:out value="${nextUser.email}"/></td>
  	</tr>
  	</c:forEach>
    </TABLE>	
 </c:when>
  <c:otherwise>
  There are no users defined
  </c:otherwise>
</c:choose>
<br><a href="addUser.jsp">Add New User</a>
<template:insert definition="defaultBottomLayout"/>



See more files for this project here

Frame2 Web Application Framework

Frame2 is an alternative to using Struts for web application development. Frame2 also supports web services in an MVC context.

Project homepage: http://sourceforge.net/projects/frame2
Programming language(s): Java,JSP,XML
License: other

  WEB-INF/
    commonsvalidator/
      commons-validation.xml
    src/
      org/
        megatome/
          example/
            AddUserHandler.java
            DisplayUsers.java
            DisplayUsersHandler.java
            User.java
            UserStorage.java
      frame2-app-bundle.properties
    templates/
      addUserPreBody.jsp
      defaultFooter.jsp
      defaultHeader.jsp
      defaultPreBody.jsp
      defaultTemplateTop.jsp
      displayUsersPreBody.jsp
      templates.xml
    frame2-config.xml
  LICENSE.txt
  NOTICE.txt
  THIRD_PARTY_LICENSE.txt
  addUser.jsp
  displayUsers.jsp
  index.html
  instructions.txt