<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%-- Edit an Address object @param bean An address object to edit. @param beanName The path to add between the bean and the properties to edit. --%> <%-- Retrieve parameters from component context, and declare them as page variable --%> <%-- Add a '.' separator to the path (beanName), in order to access the property from the given bean --%> <% if( beanName == null ) beanName = ""; else if (beanName !="" ) beanName = beanName + "."; %>
Street <%-- Declare an html input field. --%> <%-- We use the bean passed as parameter. --%> <%-- Property name is prefixed by the sub-bean name if any. --%>
Street (con't)
City
Country
Zip code