<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Struts 2 Model Driven Approach</title>
<s:head />
</head>

<body>
	<h3 style="color: green">
		<s:text name="Struts 2 Model Driven Approach" />
	</h3>
	<s:form action="modelDrivenAction" namespace="/" method="post"
		name="strutsForm" enctype="multipart/form-data">		
		<s:textfield label="Name" name="name" />
		<s:textfield label="Contact Number" name="contactNumber" />
		<s:textfield label="location" name="location" />		
		<s:checkbox label="Male" name="male" />
		<s:textarea cols="20" rows="3" label="Description"
			name="description" />
		<s:submit />
	</s:form>
</body>
</html>
