<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.transcends.co/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.transcends.co/index.php?action=history&amp;feed=atom&amp;title=Northwind_Hello_World_Servlet</id>
		<title>Northwind Hello World Servlet - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.transcends.co/index.php?action=history&amp;feed=atom&amp;title=Northwind_Hello_World_Servlet"/>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;action=history"/>
		<updated>2026-04-19T23:28:09Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.1</generator>

	<entry>
		<id>https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=3063&amp;oldid=prev</id>
		<title>Matt: Reverted edits by Amesycyxa (Talk); changed back to last version by Kyle</title>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=3063&amp;oldid=prev"/>
				<updated>2010-11-26T19:40:02Z</updated>
		
		<summary type="html">&lt;p&gt;Reverted edits by &lt;a href=&quot;/index.php/Special:Contributions/Amesycyxa&quot; title=&quot;Special:Contributions/Amesycyxa&quot;&gt;Amesycyxa&lt;/a&gt; (&lt;a href=&quot;/index.php?title=User_talk:Amesycyxa&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User talk:Amesycyxa (page does not exist)&quot;&gt;Talk&lt;/a&gt;); changed back to last version by &lt;a href=&quot;/index.php?title=User:Kyle&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;User:Kyle (page does not exist)&quot;&gt;Kyle&lt;/a&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;amp;diff=3063&amp;amp;oldid=3041&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Matt</name></author>	</entry>

	<entry>
		<id>https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=3041&amp;oldid=prev</id>
		<title>Amesycyxa at 08:32, 24 November 2010</title>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=3041&amp;oldid=prev"/>
				<updated>2010-11-24T08:32:08Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;amp;diff=3041&amp;amp;oldid=2623&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Amesycyxa</name></author>	</entry>

	<entry>
		<id>https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=2623&amp;oldid=prev</id>
		<title>Kyle at 22:36, 24 November 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=2623&amp;oldid=prev"/>
				<updated>2009-11-24T22:36:22Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:36, 24 November 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is Step 7 in the [[Northwind &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;JMS Send &lt;/del&gt;| &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Step 5: Send Notifications Over JMS&lt;/del&gt;]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is Step 7 in the [[Northwind &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Tutorial&lt;/ins&gt;|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Northwind Application Tutorial&lt;/ins&gt;]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Previous Step: [[Northwind Creating the Web Application | Step 6: Create the Web Application]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Previous Step: [[Northwind Creating the Web Application | Step 6: Create the Web Application]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Next Step: [[Northwind TagLocationService | Step 8: Write a Tag Location Service and JMS Listener]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Next Step: [[Northwind TagLocationService | Step 8: Write a Tag Location Service and JMS Listener]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kyle</name></author>	</entry>

	<entry>
		<id>https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=2622&amp;oldid=prev</id>
		<title>Kyle at 22:34, 24 November 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=2622&amp;oldid=prev"/>
				<updated>2009-11-24T22:34:55Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:34, 24 November 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is Step 7 in the [[Northwind JMS Send | Step 5: Send Notifications Over JMS]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is Step 7 in the [[Northwind JMS Send | Step 5: Send Notifications Over JMS]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Previous Step: [[Northwind &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Hello World Servlet &lt;/del&gt;| Step &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;7&lt;/del&gt;: &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Write a Hello World Servlet&lt;/del&gt;]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Previous Step: [[Northwind &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Creating the Web Application &lt;/ins&gt;| Step &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;6&lt;/ins&gt;: &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Create the Web Application&lt;/ins&gt;]]&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Next Step: [[Northwind TagLocationService | Step 8: Write a Tag Location Service and JMS Listener]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Next Step: [[Northwind TagLocationService | Step 8: Write a Tag Location Service and JMS Listener]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===What you will learn===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===What you will learn===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kyle</name></author>	</entry>

	<entry>
		<id>https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=2619&amp;oldid=prev</id>
		<title>Kyle at 22:32, 24 November 2009</title>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=2619&amp;oldid=prev"/>
				<updated>2009-11-24T22:32:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:32, 24 November 2009&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;==&lt;/del&gt;Write a Hello World Servlet==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;This is Step 7 in the [[Northwind JMS Send | Step 5: Send Notifications Over JMS]]&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;What you will learn&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Previous Step: [[Northwind Hello World Servlet | Step 7: &lt;/ins&gt;Write a Hello World Servlet&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;]]&amp;lt;br&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Next Step: [[Northwind TagLocationService | Step 8: Write a Tag Location Service and JMS Listener]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;=&lt;/ins&gt;==What you will learn&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* How to use Spring's MVC Controller&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* How to use Spring's MVC Controller&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* How to write a servlet&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* How to write a servlet&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kyle</name></author>	</entry>

	<entry>
		<id>https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=2591&amp;oldid=prev</id>
		<title>Kyle: New page: ==Write a Hello World Servlet== What you will learn * How to use Spring's MVC Controller * How to write a servlet * How to write a JSP ===Write a JSP=== Create a new file in the jsp direct...</title>
		<link rel="alternate" type="text/html" href="https://wiki.transcends.co/index.php?title=Northwind_Hello_World_Servlet&amp;diff=2591&amp;oldid=prev"/>
				<updated>2009-11-24T19:20:42Z</updated>
		
		<summary type="html">&lt;p&gt;New page: ==Write a Hello World Servlet== What you will learn * How to use Spring&amp;#039;s MVC Controller * How to write a servlet * How to write a JSP ===Write a JSP=== Create a new file in the jsp direct...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Write a Hello World Servlet==&lt;br /&gt;
What you will learn&lt;br /&gt;
* How to use Spring's MVC Controller&lt;br /&gt;
* How to write a servlet&lt;br /&gt;
* How to write a JSP&lt;br /&gt;
===Write a JSP===&lt;br /&gt;
Create a new file in the jsp directory called taglocation.jsp.  Edit it as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;%@ include file=&amp;quot;/WEB-INF/jsp/include.jsp&amp;quot; %&amp;gt;&lt;br /&gt;
Hello World at &amp;lt;fmt:formatDate value=&amp;quot;${model.date}&amp;quot; pattern=&amp;quot;MM.dd.yyyy&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
As you can see, this does the same thing as the index page, except it will get the date passed in from the Contoller in the &amp;quot;model&amp;quot; instead of getting it from a JSP tag.&lt;br /&gt;
===Write a Controller===&lt;br /&gt;
The next thing to do is to create the controller.  The controller's purpose is to pass in a model to the view.  In this case, our model is simply a date object.  However, this will change when we hook up our web app to our RFID application.  For now, create a new package called &amp;lt;tt?&amp;gt;com.northwind.rfid.shipping.war&amp;lt;/tt&amp;gt;.  Create a new Java class called TagLocationController.  Edit it as follows:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
package com.northwind.rfid.shipping.war;&lt;br /&gt;
&lt;br /&gt;
import java.util.Date;&lt;br /&gt;
import java.util.HashMap;&lt;br /&gt;
&lt;br /&gt;
import javax.servlet.http.HttpServletRequest;&lt;br /&gt;
import javax.servlet.http.HttpServletResponse;&lt;br /&gt;
&lt;br /&gt;
import org.springframework.web.servlet.ModelAndView;&lt;br /&gt;
import org.springframework.web.servlet.mvc.Controller;&lt;br /&gt;
&lt;br /&gt;
/**&lt;br /&gt;
 * @author Kyle Neumeier - kyle@pramari.com&lt;br /&gt;
 *&lt;br /&gt;
 */&lt;br /&gt;
public class TagLocationController implements Controller{&lt;br /&gt;
&lt;br /&gt;
	@Override&lt;br /&gt;
	public ModelAndView handleRequest(HttpServletRequest arg0,&lt;br /&gt;
			HttpServletResponse arg1) throws Exception {&lt;br /&gt;
		HashMap&amp;lt;String, Object&amp;gt; model = new HashMap&amp;lt;String, Object&amp;gt;();&lt;br /&gt;
		model.put(&amp;quot;date&amp;quot;, new Date(System.currentTimeMillis()));&lt;br /&gt;
		&lt;br /&gt;
		return new ModelAndView(&amp;quot;/WEB-INF/jsp/taglocation.jsp&amp;quot;, &amp;quot;model&amp;quot;, model);&lt;br /&gt;
	}&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
What happens now is that anytime a web page that is controlled by this controller is loaded, the handleRequest method will be invoked.  This method simply passes in a model object to the proper jsp.&lt;br /&gt;
===Modify the web.XML===&lt;br /&gt;
Now we need to modify the web.xml so that the controller will be loaded at the proper time.  The web.xml should now look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;web-app version=&amp;quot;2.4&amp;quot; xmlns=&amp;quot;http://java.sun.com/xml/ns/j2ee&amp;quot;&lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot;&lt;br /&gt;
	xsi:schemaLocation=&amp;quot;http://java.sun.com/xml/ns/j2ee &lt;br /&gt;
         http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&amp;quot;&amp;gt;&lt;br /&gt;
	&amp;lt;welcome-file-list&amp;gt;&lt;br /&gt;
		&amp;lt;welcome-file&amp;gt;index.jsp&amp;lt;/welcome-file&amp;gt;&lt;br /&gt;
	&amp;lt;/welcome-file-list&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;jsp-config&amp;gt;&lt;br /&gt;
		&amp;lt;taglib&amp;gt;&lt;br /&gt;
			&amp;lt;taglib-uri&amp;gt;/spring&amp;lt;/taglib-uri&amp;gt;&lt;br /&gt;
			&amp;lt;taglib-location&amp;gt;/WEB-INF/spring.tld&amp;lt;/taglib-location&amp;gt;&lt;br /&gt;
		&amp;lt;/taglib&amp;gt;&lt;br /&gt;
	&amp;lt;/jsp-config&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
	&amp;lt;servlet&amp;gt;&lt;br /&gt;
		&amp;lt;servlet-name&amp;gt;NorthwindDemo&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
		&amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&amp;lt;/servlet-class&amp;gt;&lt;br /&gt;
		&amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;&lt;br /&gt;
	&amp;lt;/servlet&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;servlet-mapping&amp;gt;&lt;br /&gt;
		&amp;lt;servlet-name&amp;gt;NorthwindDemo&amp;lt;/servlet-name&amp;gt;&lt;br /&gt;
		&amp;lt;url-pattern&amp;gt;/taglocation.htm&amp;lt;/url-pattern&amp;gt;&lt;br /&gt;
	&amp;lt;/servlet-mapping&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;/web-app&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
The two things we did here:&lt;br /&gt;
# Told the web application about a servlet called NorthwindDemo.&lt;br /&gt;
# Told the web application to invoke the NorthwindDemo servlet whenever a page called 'taglocation.htm' is requested.&lt;br /&gt;
&lt;br /&gt;
===Create a servlet xml===&lt;br /&gt;
Now we need to create a servlet XML that controls how the NorthwindDemo servlet behaves.  Create a new file called NorthwindDemo-servlet.xml in the WEB-INF folder (the name of the file must be the name of the servlet with &amp;quot;-servlet.xml&amp;quot; appended to it).  Make the servlet xml look like this:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;beans xmlns=&amp;quot;http://www.springframework.org/schema/beans&amp;quot;&lt;br /&gt;
	xmlns:xsi=&amp;quot;http://www.w3.org/2001/XMLSchema-instance&amp;quot; xmlns:osgi=&amp;quot;http://www.springframework.org/schema/osgi&amp;quot;&lt;br /&gt;
	xmlns:amq=&amp;quot;http://activemq.apache.org/schema/core&amp;quot;&lt;br /&gt;
	xsi:schemaLocation=&amp;quot;http://www.springframework.org/schema/beans &lt;br /&gt;
	META-INF/xsd/spring-beans-2.5.xsd&lt;br /&gt;
    http://www.springframework.org/schema/osgi &lt;br /&gt;
    http://www.springframework.org/schema/osgi/spring-osgi.xsd&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
	&amp;lt;bean name=&amp;quot;/taglocation.htm&amp;quot; class=&amp;quot;com.northwind.rfid.shipping.war.TagLocationController&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/beans&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Modify index.jsp===&lt;br /&gt;
The last thing to do is to modify our welcome file so that we are redirected to 'taglocation.htm' by default&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;lt;%@ include file=&amp;quot;/WEB-INF/jsp/include.jsp&amp;quot; %&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;%-- Redirected because we can't set the welcome page to a virtual URL. --%&amp;gt;&lt;br /&gt;
&amp;lt;c:redirect url=&amp;quot;/taglocation.htm&amp;quot;/&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
===Run It!===&lt;br /&gt;
When you run the web application again (or use the 'update' trick) and point your browser to http://127.0.0.1:8080/NORTHWIND-DEMO, you should see the same Hello World message as last time.  This time however, the back end is using Spring's Web MVC framework.&lt;/div&gt;</summary>
		<author><name>Kyle</name></author>	</entry>

	</feed>