Repository: struts-examples Updated Branches: refs/heads/master 33bf8f26a -> 65936200f
http://git-wip-us.apache.org/repos/asf/struts-examples/blob/433ea016/wildcard_method_selection/src/main/webapp/view.jsp ---------------------------------------------------------------------- diff --git a/wildcard_method_selection/src/main/webapp/view.jsp b/wildcard_method_selection/src/main/webapp/view.jsp deleted file mode 100644 index 4c5e7f6..0000000 --- a/wildcard_method_selection/src/main/webapp/view.jsp +++ /dev/null @@ -1,60 +0,0 @@ -<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%> -<% -String path = request.getContextPath(); -String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; -%> -<%@ taglib prefix="s" uri="/struts-tags" %> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> - <head> - <base href="<%=basePath%>"> - <title>View People</title> - <meta http-equiv="pragma" content="no-cache"> - <meta http-equiv="cache-control" content="no-cache"> - <meta http-equiv="expires" content="0"> - - </head> - - <body> - <h3>People</h3> - - - <s:if test="personList.size > 0"> - <ol> - <s:iterator value="personList"> - <li> - <s:property value="firstName" /> - - <s:property value="lastName" /> - - <%--Put the name of the method we want to call - in front of Person. This action will cause - the method named edit to be called in the - ActionSupport class (see struts.xml) --%> - <s:url action="editPerson" var="editUrl"> - <s:param name="id" value="id"/> - </s:url> - - <s:url action="deletePerson" var="deleteUrl"> - <s:param name="id" value="id"/> - </s:url> - - <a href="<s:property value='#editUrl' />" >Edit</a> - - <a href="<s:property value='#deleteUrl' />" >Delete</a> - </li> - </s:iterator> - </ol> - </s:if> - - <%--Put the name of the method we want to call - in front of Person. This action will cause - the method named create to be called in the - ActionSupport class (see struts.xml) --%> - <s:url action="createPerson" var="newUrl"> - <s:param name="id" value="0"/> - </s:url> - - <p><a href="<s:property value='#newUrl' />" > Create new person.</a></p> - </body> -</html>
