ÿþ<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=unicode" /> <meta http-equiv="Content-Language" content="en-us" /> <style> <!-- p.MsoNormal {margin-top:0mm; margin-right:0mm; margin-bottom:10.0pt; margin-left:0mm; line-height:115%; font-size:12.0pt; font-family:"Times New Roman","serif";} h1 {margin-right:0mm; margin-left:0mm; font-size:24.0pt; font-family:"Times New Roman","serif"; font-weight:bold} a:link {color:blue; text-decoration:underline;} a:visited {color:purple; text-decoration:underline;} p {margin-right:0mm; margin-left:0mm; font-size:12.0pt; font-family:"Times New Roman","serif";} --> </style> <title>Java Struts framework: Creating the JSP Pages</title> <meta name="keywords" content="Java, opensource, technology, applications, programs, examples, struts framework" /> <meta name="description" content="Steps on how to create the JSP pages for Java Struts framework" /> </head> <body lang="EN-US" link="#0000FF" vlink="#800080" topmargin="20" leftmargin="20" rightmargin="20" bottommargin="20"> <div class="WordSection1"> <h1 align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="6" face="Arial"><span style="font-weight:400">Introduction to the Struts Web Framework 2</span></font></h1> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0" align="center"><script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; /* 728x90, created 5/16/08 javaos */ google_ad_slot = "1917524460"; google_ad_width = 728; google_ad_height = 90; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <b><font size="3" face="Arial"> <span style="font-size:12.0pt;font-weight:bold">Creating JSP Pages</span></font></b></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">Begin by creating two JSP pages for the application. The first displays a form. The second is the view returned when login is successful.</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <ol> <li> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <font face="Arial">Creating a Login Page</font></p> </li> <li> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <font face="Arial">Creating a Success Page</font></p> </li> </ol> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <b><font size="3" face="Arial"> <span style="font-size:12.0pt;font-weight:bold">Creating a Login Page</span></font></b></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <span style="font-size: 12.0pt"><font size="3" face="Arial">1.</font><font size="1" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-size:7.0pt; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span><font face="Arial">Right-click the </font> <font face="Courier New"><span style="font-family:&quot;Arial&quot;">MyStrutsApp</span></font><font face="Arial"> project node, choose New &gt; JSP, and name the new file </font> <font face="Courier New"><span style="font-family:&quot;Arial&quot;">login</span></font><font face="Arial">. Click Finish. The </font><font face="Courier New"> <span style="font-family:&quot;Arial&quot;">login.jsp</span></font><font face="Arial"> file opens in the Source Editor.</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="483" height="221" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans011.png" alt="NetBeans with struts framework project - creating new JSP page" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="585" height="440" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans012.png" alt="NetBeans with struts framework project - new JSP page information" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <span style="font-size: 12.0pt"><font size="3" face="Arial">2.</font><font size="1" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-size:7.0pt; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span><font face="Arial">In the Source Editor, change the content of both the </font><font face="Courier New"> <span style="font-family:&quot;Arial&quot;">&lt;title&gt;</span></font><font face="Arial"> and </font><font face="Courier New"> <span style="font-family:&quot;Arial&quot;">&lt;h1&gt;</span></font><font face="Arial"> tags (or </font><font face="Courier New"> <span style="font-family:&quot;Arial&quot;">&lt;h2&gt;</span></font><font face="Arial"> tags, depending on the IDE version you are using) to </font> <font face="Courier New"><span style="font-family:&quot;Arial&quot;">Login Form</span></font><font face="Arial">.</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="401" height="379" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans013.png" alt="NetBeans with struts framework project - new JSP page content" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <span style="font-size: 12.0pt"><font size="3" face="Arial">3.</font><font size="1" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-size:7.0pt; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span><font face="Arial">Add the following two taglib directives to the top of the file:</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700"> &lt;%@ taglib uri=&quot;http://struts.apache.org/tags-bean&quot; prefix=&quot;bean&quot; %&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700"> &lt;%@ taglib uri=&quot;http://struts.apache.org/tags-html&quot; prefix=&quot;html&quot; %&gt;</span></font></p> </blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="622" height="258" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans014.png" alt="NetBeans with struts framework project - adding taglib into JSP page" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">Many web applications use JSP pages for views in the MVC paradigm, so Struts provides custom tag libraries which facilitate interaction with HTML forms. These can be easily applied to a JSP file using the IDE&#39;s support for code completion. When you type in the Source Editor, the IDE provides you with code completion for Struts tags, as well as the Struts Javadoc. You can also invoke code completion manually by pressing Ctrl-Space:</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="592" height="452" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans015.png" alt="NetBeans with struts framework project - code completion features" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"><br /> The <b><span style="font-weight:bold">bean taglib</span></b> provides you with numerous tags that are helpful when associating a form bean (i.e., an </span> </font><font face="Courier New"><span style="font-family:&quot;Arial&quot;"> ActionForm</span></font><font face="Arial"> bean) with the data collected from the form. The <b><span style="font-weight: bold">html taglib</span></b> offers an interface between the view and other components necessary to a web application. For example, below you replace common html </font><font face="Courier New"><span style="font-family:&quot;Arial&quot;"> form</span></font><font face="Arial"> tags with Struts&#39; </font> <font face="Courier New"><span style="font-family:&quot;Arial&quot;">&lt;html:form&gt;</span></font><font face="Arial"> tags. One benefit this provides is that it causes the server to locate or create a bean object that corresponds to the value provided for </font> <font face="Courier New"><span style="font-family:&quot;Arial&quot;">html:form</span></font><font face="Arial">&#39;s </font><font face="Courier New"><span style="font-family:&quot;Arial&quot;"> action</span></font><font face="Arial"> element.</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <span style="font-size: 12.0pt"><font size="3" face="Arial">4.</font><font size="1" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-size:7.0pt; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span><font face="Arial">Below the </font> <font size="2" face="Courier New"> <span style="font-size:10.0pt;font-family:&quot;Arial&quot;">&lt;h1&gt;</span></font><font face="Arial"> (or </font><font size="2" face="Courier New"> <span style="font-size:10.0pt;font-family:&quot;Arial&quot;">&lt;h2&gt;</span></font><font face="Arial">) tags, add the following:</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;background:white"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700"> &lt;html:form action=&quot;/login&quot;&gt;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;background:white"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;background:white"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp; &lt;html:submit value=&quot;Login&quot; /&gt;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;background:white"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;background:white"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700"> &lt;/html:form&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="402" height="383" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans016.png" alt="NetBeans with struts framework project - adding form" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">Whenever you finish typing in the Source Editor, you can tidy up the code by right-clicking and choosing Format (Alt-Shift-F).</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0" align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; /* 300x250, created 5/16/08javaos */ google_ad_slot = "8146009330"; google_ad_width = 300; google_ad_height = 250; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> &nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0" align="center"> <font face="Arial">-----------------------------------------------------</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> &nbsp;</p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="444" height="206" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans017.png" alt="NetBeans with struts framework project - tidy up the code using Format menu" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <span style="font-size: 12.0pt"><font size="3" face="Arial">5.</font><font size="1" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-size:7.0pt; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span><font face="Arial">In the Palette (Window &gt; Palette) in the right region of the IDE, <b>drag a Table item from the HTML category</b> to a point just above the </font><font face="Courier New"> <span style="font-family:&quot;Arial&quot;">&lt;html:submit value=&quot;Login&quot; /&gt;</span></font><font face="Arial"> line. The Insert Table dialog box displays. Set the rows to </font> <font face="Courier New"><span style="font-family: &quot;Arial&quot;">3</span></font><font face="Arial">, columns to </font> <font face="Courier New"><span style="font-family:&quot;Arial&quot;">2</span></font><font face="Arial">, and leave all other settings at </font><font face="Courier New"> <span style="font-family:&quot;Arial&quot;">0</span></font><font face="Arial">. Later in the tutorial, you will attach a stylesheet to affect the table display.</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="149" height="206" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans018.png" alt="NetBeans with struts framework project - the table palette" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="819" height="473" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans019.png" alt="NetBeans with struts framework project - dragging and dropping the table palette" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">Click OK, then optionally reformat the code (Alt-Shift-F). The form in </span></font> <font size="3" face="Courier New"> <span style="font-family:&quot;Arial&quot;">login.jsp</span></font><font face="Arial"> now looks as follows: </font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700"> &lt;html:form action=&quot;/login&quot;&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp; &lt;table border=&quot;0&quot;&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;thead&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;th&gt;&lt;/th&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;th&gt;&lt;/th&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/thead&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tbody&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tbody&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp; &lt;/table&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp; &lt;html:submit value=&quot;Login&quot; /&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700"> &lt;/html:form&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="484" height="518" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans020.png" alt="NetBeans with struts framework project - the inserted table template" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <b><font size="3" face="Arial"> <span style="font-size:12.0pt;font-weight:bold">Note: </span></font></b> <font face="Arial">You can safely delete the </font> <font face="Courier New"><span style="font-family:&quot;Arial&quot;">&lt;thead&gt;</span></font><font face="Arial"> table row, as it is not used in this tutorial.</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="388" height="330" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans021.png" alt="NetBeans with struts framework project - the table header" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <span style="font-size: 12.0pt"><font size="3" face="Arial">6.</font><font size="1" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-size:7.0pt; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span><font face="Arial">In the first table row, enter the following (changes in <b><span style="font-weight:bold">bold</span></b>):</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&nbsp;&nbsp;&nbsp; &lt;td&gt;<b><span style="font-weight:bold">Enter your name:</span></b>&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&nbsp;&nbsp;&nbsp; &lt;td&gt;<b><span style="font-weight:bold">&lt;html:text property=&quot;name&quot; /&gt;</span></b>&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&lt;/tr&gt;</span></font></p> </blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="479" height="145" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans022.png" alt="NetBeans with struts framework project - the table data" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <span style="font-size: 12.0pt"><font size="3" face="Arial">7.</font><font size="1" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-size:7.0pt; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span><font face="Arial">In the second table row, enter the following (changes in <b><span style="font-weight:bold">bold</span></b>):</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&nbsp;&nbsp;&nbsp; &lt;td&gt;<b><span style="font-weight:bold">Enter your email:</span></b>&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&nbsp;&nbsp;&nbsp; &lt;td&gt;<b><span style="font-weight:bold">&lt;html:text property=&quot;email&quot; /&gt;</span></b>&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&nbsp;&nbsp; &lt;/tr&gt;</span></font></p> </blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="537" height="199" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans023.png" alt="NetBeans with struts framework project - inserting the table data" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">The </span> </font><font face="Courier New"><span style="font-family:&quot;Arial&quot;"> html:text</span></font><font face="Arial"> element enables you to match the input fields from the form with properties in the form bean that will be created in the next step. So for example, the value of </font> <font face="Courier New"><span style="font-family:&quot;Arial&quot;">property</span></font><font face="Arial"> must match a field declared in the form bean associated with this form.</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-top:0;margin-right:0;margin-bottom:0mm; margin-left:18.0pt;margin-bottom:0;text-indent:-18.0pt;background:white"> <span style="font-size: 12.0pt"><font size="3" face="Arial">8.</font><font size="1" face="Times New Roman"><span style="font-style:normal; font-variant:normal; font-weight:normal; font-size:7.0pt; font-family:Arial">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font></span><font face="Arial">Move the </font> <font face="Courier New"><span style="font-family:&quot;Arial&quot;">&lt;html:submit value=&quot;Login&quot; /&gt;</span></font><font face="Arial"> element into the second column of the third table row, so that the third table row appears as follows (changes in <b><span style="font-weight:bold">bold</span></b>):</font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&nbsp;&nbsp; &lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&nbsp;&nbsp;&nbsp; &lt;td&gt;<b><span style="font-weight:bold">&lt;html:submit value=&quot;Login&quot; /&gt;</span></b>&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;">&nbsp;&nbsp; &lt;/tr&gt;</span></font></p> </blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt"> <img border="0" width="546" height="162" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans024.png" alt="NetBeans with struts framework project - moving the table data - drag and drop feature" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">At this stage, your login form should look as follows:</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Arial"><span style="font-size:12.0pt">&nbsp;</span></font></p> <blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700"> &lt;html:form action=&quot;/login&quot;&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp; &lt;table border=&quot;0&quot;&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tbody&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;Enter your name:&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;html:text property=&quot;name&quot; /&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;Enter your email:&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;html:text property=&quot;email&quot; /&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;td&gt;&lt;html:submit value=&quot;Login&quot; /&gt;&lt;/td&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tr&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/tbody&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700">&nbsp;&nbsp;&nbsp; &lt;/table&gt;</span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0"> <font size="3" face="Courier New"> <span style="font-size:12.0pt;font-family:&quot;Arial&quot;; font-weight:700"> &lt;/html:form&gt;</span></font></p> </blockquote> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" align="center" style="margin-bottom:0mm;margin-bottom:0; text-align:center;background:white; margin-top:0; margin-right:0"> <font size="4" face="Arial"><span style="font-size:13.5pt"> <img border="0" width="543" height="424" src="StrutsWebFrameworkwithMVCNetbeans_files/structsjavawebservernetbeans025.png" alt="NetBeans with struts framework project - the over all login form template which created with table" /></span></font></p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0">&nbsp;</p> <p class="MsoNormal" style="margin-bottom:0mm;margin-bottom:0;background:white; margin-top:0; margin-right:0" align="center"><script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; /* 728x15, created 5/16/08javaos */ google_ad_slot = "3545464564"; google_ad_width = 728; google_ad_height = 15; //--> </script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> <hr color="#FF0000" /> <p class="MsoNormal" style="line-height: 100%; margin-top: 0; margin-bottom: 0" align="center"> <font face="Arial" size="5">&nbsp;<a title="Creating JSP Pages" target="_top" href="http://www.visualcplusdotnet.com/javaopensource/StrutsWebFrameworkwithMVCNetbeans.html">Strut &amp; Web 1</a> | <a title="The Java and open source applications" target="_top" href="http://www.javaguicodexample.com/"> Back to Main</a> | <a title="Creating a Success Page" target="_top" href="http://www.visualcplusdotnet.com/javaopensource/StrutsWebFrameworkwithMVCNetbeans2.html"> Strut &amp; Web 3</a></font></p> <p class="MsoNormal" style="margin-right: 0; margin-top: 0; margin-bottom: 0; background: white url('')">&nbsp;</p> <div align="center"><script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=728X90&cwpid=527221&cwwidth=728&cwheight=90&cwpnet=1&cwtagid=85440"></script></div> </div> </body> </html>