<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3599062608547050245</id><updated>2011-04-22T04:37:04.460+08:00</updated><category term='achievement'/><category term='PHP'/><category term='Code'/><category term='File Download'/><category term='Contest'/><category term='Framework'/><category term='Halloween'/><category term='Sysreset'/><category term='intro'/><category term='Photoscape'/><category term='Software'/><category term='Anniversary'/><category term='Celebration'/><category term='Mirc'/><category term='Spring'/><category term='Free'/><category term='Image Editor'/><category term='Tutorial'/><category term='Events'/><category term='Personality'/><category term='Bored'/><category term='Just For Fun'/><title type='text'>Kooky Koding Basement</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>14</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-6341420888826259822</id><published>2009-02-03T23:00:00.019+08:00</published><updated>2009-02-04T11:03:02.772+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Events'/><category scheme='http://www.blogger.com/atom/ns#' term='Anniversary'/><category scheme='http://www.blogger.com/atom/ns#' term='Celebration'/><title type='text'>Happy 1 year Anniversary to ELTP-19</title><content type='html'>&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;Date&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt; &lt;/span&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;:&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt; &lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt;7th January 2009&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;Event&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt; &lt;/span&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;:&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt; &lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt;ELTP-19 first Anniversary&lt;/span&gt;&lt;br /&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(0,0,0)"&gt;Place :&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt; &lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt;KFC at Petronas Equine&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Web Gallery :&lt;/span&gt; &lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;a style="COLOR: rgb(51,51,255)" href="http://picasaweb.google.com/satyam.eltp19"&gt;Picasa Picture Gallery&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: justify"&gt;7th January marked as the first day in the 2009 calendar as the starting of our second year of knowing each other. It's regrettable that some of us could not make it to this reunion. This does not mean that those individuals are any less significant. Each and everyone of us ELTP-19s have our share of ups and downs, we are far from being free of flaws and imperfections but these faults that made us individuals, that made us different from each other, that made us human with opinions, that made us apart of ELTP-19 &lt;span style="font-size:78%;"&gt;(I know this sounds cliche but please bear with it... =p)&lt;/span&gt;. Whatever it is ELTP-19 won't be ELTP-19 without YOU!&lt;br /&gt;&lt;/div&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Amin&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Anor&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Audrey&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Azlan&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Bahyah&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Bai&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Chitra&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Faizah&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Fong&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Hafiz&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Haikal&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Hairos&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Intan&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Izzati&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Jeeva&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Joanna&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Joshua&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Jothi&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Kalai&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Komathi&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Kumar&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Lihin&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Liza&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Mun Kit&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Phooi Yee&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Praveen&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Raveen&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Rehan&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Ronny&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Saad&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Safura&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Saha&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Selvan&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Shangiri&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Sharmili&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Suga&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Sumi&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Suren&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Suresh&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Thava&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;VJ&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Wong Yee Hung&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Yasmin&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="COLOR: rgb(204,0,0);font-size:78%;" &gt;The 1 who posted this is also human not AI so if I mistyped your name please voice it out.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" title="Happy faces" onclick="window.open(this.href);return false;" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SYhyfhNs7gI/AAAAAAAAAug/oSQMD_k6yBo/s1600-h/individuals.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5298610847418740226" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: pointer; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SYhyfhNs7gI/AAAAAAAAAug/oSQMD_k6yBo/s320/individuals.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" onclick="window.open(this.href);return false;" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SYh09ieAlYI/AAAAAAAAAuo/SbfoHN_Edts/s1600-h/friends.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5298613562174903682" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: pointer; HEIGHT: 320px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SYh09ieAlYI/AAAAAAAAAuo/SbfoHN_Edts/s320/friends.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" title="Group Pix" onclick="window.open(this.href);return false;" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SYhvjrZES0I/AAAAAAAAAuY/P3Pw0Dj73ZA/s1600-h/groupPix.jpg"&gt;&lt;img id="BLOGGER_PHOTO_ID_5298607620335356738" style="DISPLAY: block; MARGIN: 0px auto 10px; WIDTH: 320px; CURSOR: pointer; HEIGHT: 186px; TEXT-ALIGN: center" alt="" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SYhvjrZES0I/AAAAAAAAAuY/P3Pw0Dj73ZA/s320/groupPix.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;span style="COLOR: rgb(0,102,0)"&gt;H&lt;/span&gt;A&lt;span style="COLOR: rgb(255,0,0)"&gt;P&lt;/span&gt;&lt;span style="COLOR: rgb(204,51,204)"&gt;P&lt;/span&gt;&lt;span style="COLOR: rgb(51,51,51)"&gt;Y&lt;/span&gt; &lt;span style="COLOR: rgb(51,204,255)"&gt;A&lt;/span&gt;&lt;span style="COLOR: rgb(102,51,0)"&gt;N&lt;/span&gt;N&lt;span style="COLOR: rgb(0,51,0)"&gt;I&lt;/span&gt;&lt;span style="COLOR: rgb(255,153,0)"&gt;V&lt;/span&gt;&lt;span style="COLOR: rgb(102,102,102)"&gt;E&lt;/span&gt;&lt;span style="COLOR: rgb(51,0,51)"&gt;R&lt;/span&gt;&lt;span style="COLOR: rgb(102,0,204)"&gt;S&lt;/span&gt;&lt;span style="COLOR: rgb(255,204,0)"&gt;A&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0)"&gt;R&lt;/span&gt;&lt;span style="COLOR: rgb(255,0,0)"&gt;Y &lt;/span&gt;&lt;span style="COLOR: rgb(51,51,153)"&gt;ELTP&lt;/span&gt;-&lt;span style="COLOR: rgb(51,51,0)"&gt;19&lt;/span&gt;!!!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;span style="FONT-WEIGHT: bold"&gt;PS&lt;/span&gt; - Sry for the late update guys! :D&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-6341420888826259822?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/6341420888826259822/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=6341420888826259822&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6341420888826259822'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6341420888826259822'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2009/02/happy-1-year-anniversary-to-eltp-19.html' title='Happy 1 year Anniversary to ELTP-19'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_S1s85yqxlUQ/SYhyfhNs7gI/AAAAAAAAAug/oSQMD_k6yBo/s72-c/individuals.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-2660528901521314972</id><published>2009-02-03T13:57:00.010+08:00</published><updated>2009-02-03T15:39:30.132+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Just For Fun'/><category scheme='http://www.blogger.com/atom/ns#' term='Personality'/><category scheme='http://www.blogger.com/atom/ns#' term='Bored'/><title type='text'>What Tree Did You Fall From?</title><content type='html'>&lt;div align="center"&gt;&lt;span style="color:#009900;"&gt;Apple Tree, the Love&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(December 23 to January 1)&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;Of slight build, lots of charm, appeal and attraction, pleasant aura, flirtatious, adventurous, sensitive, always in love, wants to love and be loved, faithful and tender partner, very generous, scientific talents, lives for today, a carefree philosopher with imagination. &lt;/div&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/div&gt;&lt;div align="center"&gt;&lt;span style="color:#006600;"&gt;Fir Tree, the Mysterious&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(January 2 to January 11)&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align="justify"&gt;Extraordinary taste, dignity, cultivated airs, loves anything beautiful, moody, stubborn, tends to egoism but cares for those close to it,rather modest, very ambitious, talented, industrious uncontent lover, many friends, many foes, very reliable. &lt;/div&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Elm Tree, the noble-mindedness&lt;/span&gt; &lt;span style="font-size:85%;"&gt;&lt;strong&gt;(January 12 to January 24)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;Pleasant shape, tasteful clothes, modest demands, tends not forgive mistakes, cheerful, likes to lead but not to obey, honest unfaithful partner, tends to a know-all-attitude and making decisions for others, noble-minded, generous, good sense of humour, practical. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Cypress, the Faithfulness &lt;/span&gt;&lt;span style="font-size:85%;color:#000000;"&gt;&lt;strong&gt;(January 25 to February 3)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;Strong, muscular, adaptable, takes what life has to give, happy,content,optimistic, needs enough money and acknowledgment, hates loneliness, passionate lover which cannot be satisfied, faithful, quick-tempered,unruly, pedantic and careless. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Poplar, the Uncertainty&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(February 4 to February 8)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Looks very decorative, no self-confident behaviour, only courageous if necessary, needs goodwill and pleasant surroundings, very choosy, often lonely, great animosity, artistic nature, good organiser, tends to philosophy, reliable in any situation, takes partnership serious.&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Cedar, the Confidence&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(February 9 to February 18)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Of rare beauty, knows how to adapt, likes luxury, of good health not in the least shy, tends to look down on others, self-confident, determined, impatient, wants to impress others, many talents, industrious, healthy, optimism, waiting for the one true love, able to make quick decisions. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Pine Tree, the Particularity&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(February 19 to February 28)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Loves agreeable company, very robust, knows how to make life comfortable, very active, natural, good companion, but seldom friendly, falls easily in love but its passion burns out quickly, gives up easily, many disappointments till it finds its ideal, trustworthy, practical. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Weeping Willow, the Melancholy&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(March 1 to March 10)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Beautiful but full of melancholy, attractive, very empathic, loves anything beautiful and tasteful, loves to travel, dreamer, restless, capricious, honest, can be influenced but is not easy to live with, demanding, good intuition, suffers in love but finds sometimes an anchoring partner. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Lime Tree, the Doubt&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(March 11 to March 20)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Accepts what life dishes out in a composed way, hates fighting, stress and labour, tends to laziness and idleness, soft and relenting, makes sacrifices for friends, many talents but not tenacious enough to make them blossom, often wailing and complaining, very jealous, loyal. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Oak, robust nature&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(March 21)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Courageous, strong, unrelenting, independent, sensible, does not love changes, keeps its feet on the ground, person of action. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Hazelnut Tree, the Extraordinary&lt;/span&gt;&lt;strong&gt;&lt;span style="font-size:85%;"&gt; (March 22 to March 31)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Charming, undemanding, very understanding, knows how to make an impression, active fighter for social cause, popular, moody and capricious lover, honest and tolerant partner, precise sense of judgement. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Rowan, the Sensitivity&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(April 1 to April 10)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Full of charm, cheerful, gifted, without egoism, likes to draw attention, loves life, motion, unrest and even complications, is both dependent and independent, good taste, artistic, passionate, emotional, good company, does not forgive. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Maple, Independence of Mind&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(April 11 to April 20)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;No ordinary person, full imagination and originality, shy and reserved, ambitious, proud, self respect, hungers for new experiences, sometimes nervous, many complexes, good memory, learns easily, complicated love life, wants to impress. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Walnut Tree, the Passion&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(April 21 to April 30)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Unrelenting, strange and full of contrasts, often egoistic, aggressive, noble, broad horizon, unexpected reactions, spontaneous, unlimited ambition, no flexibility, difficult and uncommon partner, not always liked but often admired, ingenious strategist, very jealous and passionate, no compromises. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Poplar, the Uncertainty&lt;/span&gt;&lt;strong&gt; &lt;span style="font-size:85%;"&gt;(May 1 to May 14)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Looks very decorative, no self-confident behaviour, only courageous if necessary, needs goodwill and pleasant surroundings, very choosy, often lonely, great animosity, artistic nature, good organiser, tends to philosophy, reliable in any situation, takes partnership serious. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Chestnut Tree, the Honesty&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(May 15 to May 24)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Of unusual beauty, does not want to impress, well-developed sense of justice, vivacious, interested, a born diplomat, but irritable and sensitive in company, often due to a lack of self-confidence, acts sometimes superior, feels not understood, loves only once, has difficulties in finding a partner. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Ash Tree, the Ambition&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(May 25 to June 3)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Uncommonly attractive, vivacious, impulsive, demanding, does not care for criticism, ambitious, intelligent, talented, likes to play with its fate, can be egoistic, very reliable and trustworthy, faithful and prudent lover, sometimes brains rule over heart, but takes partnership very serious.&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Hornbeam, the good taste&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(June 4 to June 13)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Of cool beauty, cares for its looks and condition, good taste, tends to egoism, makes life as comfortable as possible, leads reasonable, disciplined life, looks for kindness, an emotional partner and acknowledgment, dreams of unusual lovers, is seldom happy with her feelings, mistrusts most people, is never sure of its decisions, very conscientious. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Fig Tree, the Sensibility&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(June 14 to June 23)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Very strong, a bit self-willed, independent, does not allow contradiction or arguments, loves life, its family, children and animals, a bit of a butterfly, good sense of humour, likes idleness and laziness, of practical talent and intelligence. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Birch, the Inspiration&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(June 24)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Vivacious, attractive, elegant, friendly, unpretentious,modest, does not like anything in excess, abhors the vulgar, loves life in nature and in calm, not very passionate, full of imagination, little ambition, creates a calm and content atmosphere. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Apple Tree, the Love&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(June 25 to July 4)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Of slight build, lots of charm, appeal and attraction, pleasant aura, flirtatious, adventurous, sensitive, always in love, wants to love and be loved, faithful and tender partner, very generous, scientific talents, lives for today, a carefree philosopher with imagination. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Fir Tree, the Mysterious&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(July 5 to July 14)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Extraordinary taste, dignity, cultivated airs, loves anything beautiful, moody, stubborn, tends to egoism but cares for those close to it,rather modest, very ambitious, talented, industrious uncontent lover, many friends, many foes, very reliable. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Elm Tree, the noble-mindedness&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(July 15 to July 25)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Pleasant shape, tasteful clothes, modest demands, tends not forgive mistakes, cheerful, likes to lead but not to obey, honest unfaithful partner, tends to a know-all-attitude and making decisions for others, noble-minded, generous, good sense of humour, practical. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Cypress, the Faithfulness&lt;/span&gt; &lt;strong&gt;(July 26 to August 4)&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Strong, muscular, adaptable, takes what life has to give, happy,content,optimistic, needs enough money and acknowledgment, hates loneliness, passionate lover which cannot be satisfied, faithful, quick-tempered,unruly, pedantic and careless. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Poplar, the Uncertainty&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(August 5 to August 14)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Looks very decorative, no self-confident behaviour, only courageous if necessary, needs goodwill and pleasant surroundings, very choosy, often lonely, great animosity, artistic nature, good organiser, tends to philosophy, reliable in any situation, takes partnership serious. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Cedar, the Confidence&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(August 15 to August 23)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Of rare beauty, knows how to adapt, likes luxury, of good health not in the least shy, tends to look down on others, self-confident, determined, impatient, wants to impress others, many talents, industrious, healthy, optimism, waiting for the one true love, able to make quick decisions. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Pine Tree, the Particularity&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(August 24 to September 2)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Loves agreeable company, very robust, knows how to make life comfortable, very active, natural, good companion, but seldom friendly, falls easily in love but its passion burns out quickly, gives up easily, many disappointments till it finds its ideal, trustworthy, practical. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Weeping Willow, the Melancholy&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(September 3 to September 12)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Beautiful but full of melancholy, attractive, very empathic, loves anything beautiful and tasteful, loves to travel, dreamer, restless, capricious, honest, can be influenced but is not easy to live with, demanding, good intuition, suffers in love but finds sometimes an anchoring partner. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Lime Tree, the Doubt&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(September 13 to September 22)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Accepts what life dishes out in a composed way, hates fighting, stress and labour, tends to laziness and idleness, soft and relenting, makes sacrifices for friends, many talents but not tenacious enough to make them blossom, often wailing and complaining, very jealous, loyal. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Olive Tree, the Wisdom&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(September 23)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Loves sun, warmth and kind feelings, reasonable, balanced, avoids aggression and violence, tolerant, cheerful, calm, well-developed sense of justice, sensitive, empathic, free of jealousy, loves to read and the company of sophisticated people. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Hazelnut Tree, the Extraordinary&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(September 24 to October 3)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Charming, undemanding, very understanding, knows how to make an impression, active fighter for social cause, popular, moody and capricious lover, honest and tolerant partner, precise sense of judgement. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Rowan, the Sensitivity&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(October 4 to October 13)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Full of charm, cheerful, gifted, without egoism, likes to draw attention, loves life, motion, unrest and even complications, is both dependent and independent, good taste, artistic, passionate, emotional, good company, does not forgive. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Maple, Independence of Mind&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(October 14 to October 23)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;No ordinary person, full imagination and originality, shy and reserved, ambitious, proud, self-respect, hungers for new experiences, sometimes nervous, many complexes, good memory, learns easily, complicated love life, wants to impress. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Walnut Tree, the Passion&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(October 24 to November 11)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Unrelenting, strange and full of contrasts, often egoistic, aggressive, noble, broad horizon, unexpected reactions, spontaneous, unlimited ambition, no flexibility, difficult and uncommon partner, not always liked but often admired, ingenious strategist, very jealous and passionate, no compromises. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Chestnut Tree, the Honesty&lt;/span&gt; (November 12 to November 21)&lt;/p&gt;&lt;p align="justify"&gt;Of unusual beauty, does not want to impress, well-developed sense of justice, vivacious, interested, a born diplomat, but irritable and sensitive in company, often due to a lack of self-confidence, acts sometimes superior, feels not understood, loves only once, has difficulties in finding a partner. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Ash Tree, the Ambition&lt;/span&gt; &lt;span style="font-size:85%;"&gt;&lt;strong&gt;(November 22 to December 1)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;Uncommonly attractive, vivacious, impulsive, demanding, does not care for criticism, ambitious, intelligent, talented, likes to play with its fate, can be egoistic, very reliable and trustworthy, faithful and prudent lover, sometimes brains rule over heart, but takes partnership very serious.&lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Hornbeam, the good taste&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(December 2 to December 11)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Of cool beauty, cares for its looks and condition, good taste, tends to egoism, makes life as comfortable as possible, leads reasonable, disciplined life, looks for kindness, an emotional partner and acknowledgment, dreams of unusual lovers, is seldom happy with her feelings, mistrusts most people, is never sure of its decisions, very conscientious. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Fig Tree, the Sensibility&lt;/span&gt; &lt;strong&gt;&lt;span style="font-size:85%;"&gt;(December 12 to December 21)&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p align="justify"&gt;Very strong, a bit self-willed, independent, does not allow contradiction or arguments, loves life, its family, children and animals, a bit of a butterfly, good sense of humour, likes idleness and laziness, of practical talent and intelligence. &lt;/p&gt;&lt;p align="center"&gt;&lt;span style="color:#006600;"&gt;Beech, the Creative&lt;/span&gt; &lt;span style="font-size:85%;"&gt;&lt;strong&gt;(December 22)&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;p align="justify"&gt;&lt;span style="font-size:100%;"&gt;Has good taste, concerned about its looks, materialist, good organisation of life and career, economical, good leader, takes no unnecessary risks, reasonable, splendid lifetime companion, keen on keeping fit (diets, sports, etc.).&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-2660528901521314972?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/2660528901521314972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=2660528901521314972&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/2660528901521314972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/2660528901521314972'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2009/02/what-tree-did-you-fall-from.html' title='What Tree Did You Fall From?'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-6890097169975248946</id><published>2009-01-12T09:24:00.002+08:00</published><updated>2009-01-12T09:29:51.669+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>Spring MVC : Database Connectivity</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;"&gt;Another way to access database without using applicationContext.xml is as follows : &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;DriverManagerDataSource dataSource = new DriverManagerDataSource();&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;dataSource.setDriverClassName("oracle.jdbc.driver.OracleDriver");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;dataSource.setUrl("jdbc:oracle:thin:@localhost:1521:XE");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;dataSource.setUsername("username");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;dataSource.setPassword("pwd");&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;JdbcTemplate jt = new JdbcTemplate(dataSource);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Just place it in your controller and you're done. ;)&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-6890097169975248946?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/6890097169975248946/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=6890097169975248946&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6890097169975248946'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6890097169975248946'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2009/01/spring-mvc-database-connectivity.html' title='Spring MVC : Database Connectivity'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-1818790176258480950</id><published>2009-01-07T14:01:00.011+08:00</published><updated>2009-01-08T09:16:36.037+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>Spring MVC : Login App Part 3</title><content type='html'>&lt;span style="font-family:arial;font-size:85%;"&gt;Alright, now we'll move on to database connectivity. First create a table for our login, we only need 2 attributes, &lt;strong&gt;username&lt;/strong&gt; and &lt;strong&gt;password&lt;/strong&gt;, name the table as login or any name you like. In this example, i used Oracle. Basically its the same with any other database, MySQL..etc.. The difference is the class driver name and such. Here we'll simplify things by &lt;strong&gt;NOT&lt;/strong&gt; using validator..and use javascript to validate fields. Much much easier..unless we're familiar with validators. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;This example is done as per my understanding. You might approach this example in different way, which im sure there are lots. So if you think there's another way to do this, please feel free to comment. Share the knowledge :P &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;We're dropping off validator class, so you can dereference it from your bean by removing the &lt;span style="font-family:courier new;color:#cc6600;"&gt;&amp;lt;property name="validator"&amp;gt;&amp;lt;ref bean="loginValidator"/&amp;gt;&amp;lt;/property&amp;gt;&lt;/span&gt; line from &lt;strong&gt;dispatcher-servlet.xml&lt;/strong&gt;. Theres no further changes in that xml file. Create a simple jsp, name it as &lt;strong&gt;&lt;em&gt;failure. jsp&lt;/em&gt;&lt;/strong&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;There's 2 ways to database connectivity, one is by normal JDBC, the other using Hibernate. This example uses JDBC (i'm too lazy to learn hibernate now, so i use JDBC :P)&lt;/span&gt; &lt;span style="font-family:arial;font-size:85%;"&gt;This connectivity using Springs is slightly different from Struts. So whatever you learnt in Struts u can forget it temporarily. Spring uses JDBC template in handling data access. This is not the only way. There are other ways, but so far ive found the template to be most used. Just remember to keep &lt;a href="http://www.springsource.org/"&gt;SpringSource&lt;/a&gt; website as your best friend. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;One advantage of JdbcTemplate is it cleans-up the resources automatically, e.g. release the database connections. The template class of Spring is JdbcTemplate. A dataSource is provided inside JdbcTemplate. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;We'll create 2 java classes, one interface and the other implementing it. We can also use just one class instead of 2. But i'll show that in the Part 4 series. So for now i'll stick to 2 classes. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Create a package called Connection. Create &lt;strong&gt;datacon.java &lt;/strong&gt;in that package. &lt;em&gt;(Actually this is not really the way to declare classes or packages. But for our understanding's sake we differentiate it this way)&lt;/em&gt; Add these lines :&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;public interface datacon {&lt;br /&gt;public DataSource dbcon(); //&lt;em&gt;don't forget to import javax.sql.DataSource&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Create &lt;strong&gt;dataconimpl.java &lt;/strong&gt;inside the same package. Add the following lines : &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;public class dataconimpl implements datacon{&lt;br /&gt;private DataSource dataSource; //&lt;em&gt;don't forget to import javax.sql.DataSource&lt;/em&gt;&lt;br /&gt;public void setDataSource(DataSource ds) {&lt;br /&gt;dataSource = ds;&lt;br /&gt;}&lt;br /&gt;public DataSource dbcon() {&lt;br /&gt;return dataSource;&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;These 2 classes are referred from this &lt;a href="http://www.roseindia.net/spring/springpart3.shtml"&gt;page&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Now we'll see on &lt;strong&gt;applicationContext.xml. &lt;/strong&gt;If you notice in that file, theres few lines of code commented. For some reason those codes are not working properly, so ive tried different way. That will be explained later once ive managed to run the application successfully. So in this file, add these lines, &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;bean id="datacon" class="Connection.dataconimpl"&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;property name="dataSource"&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;ref local="&lt;strong&gt;&lt;span style="color:#330000;"&gt;dataSource&lt;/span&gt;&lt;/strong&gt;"/&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;/property&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;/bean&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;bean id="&lt;strong&gt;&lt;span style="color:#330000;"&gt;dataSource&lt;/span&gt;&lt;/strong&gt;" class="org.apache.commons.dbcp.BasicDataSource" destroy-method="close"&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;property name="url" value="jdbc:oracle:thin:@localhost:1521:XE"/&amp;gt; &amp;lt;!-- XE - Oracle express edition --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;property name="username" value="system"/&amp;gt; &amp;lt;!-- according to your local Oracle name, password --&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;property name="password" value="123456"/&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;/bean&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Notice the highlighted dataSource? Both name are the same. We're goin to refer that datacon bean in our controller, and that datacon bean is referring to dataSource. Now let's update our &lt;strong&gt;LoginFormController.java. &lt;/strong&gt;Remember we're not using validator in this example. Create your own javascript for field validation. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Now we'll see both database connectivity as well as linking failure page. Create a string variable to hold your jsp page name. .jsp extension has already resolved in the dispatcher-servlet.xml. (&lt;em&gt;bean id="viewResolver"&lt;/em&gt;) So you dont need to specify .jsp. The code will be short as we're just goin to check whether the record exists or not. If you have any other logic besides this, let me know :) &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Comment out the previous codes. Then add the following codes : &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;String status = "success"; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;Resource res = new ClassPathResource("../applicationContext.xml"); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;BeanFactory factory = new XmlBeanFactory(res); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;datacon bean1 = (datacon) factory.getBean("datacon"); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;DataSource ds = bean1.dbcon(); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;JdbcTemplate jt = new JdbcTemplate(ds);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#cc6600;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000000;"&gt;&lt;strong&gt;status&lt;/strong&gt; variable is to hold the name of the jsp page. &lt;strong&gt;success&lt;/strong&gt; is the success.jsp. you can initialise it with any string. &lt;strong&gt;ClassPathResource&lt;/strong&gt; reads the &lt;strong&gt;applicationContext.xml&lt;/strong&gt;. It'll read the connections defined inside. Some codes online refers the xml file without the "&lt;strong&gt;../&lt;/strong&gt;" before applicationContext.xml. So improvise to see which suits you best. datacon in the getBean() is the bean that you've defined in applicationContext.xml. JdbcTemplate will be used as our data access method. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Add these lines after the ones above :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;LoginFormBean loginBean = (LoginFormBean) command; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;int count = jt.queryForInt("select count(*) from login where username = ? and password=?", new Object[]{loginBean.getName(), loginBean.getPassword()}); &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;if (count==0){ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;status = "failure"; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}else{ &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;status = "success"; &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}&lt;br /&gt;return new ModelAndView(status);&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#cc6600;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000000;"&gt;&lt;strong&gt;&lt;em&gt;count&lt;/em&gt;&lt;/strong&gt; will keep the number of records according to that username and password. What this code does is merely checking if there's any record based on the username and password given. Like i said, you can use any logic to check for login details. I used counting records. The select statement is somewhat same as &lt;strong&gt;PreparedStatement&lt;/strong&gt;. &lt;strong&gt;?&lt;/strong&gt; as the wildcard to get user input or values. &lt;em&gt;&lt;strong&gt;new Object[]{}&lt;/strong&gt;&lt;/em&gt; is like setXXX() (e.g setString) within those curly braces, you add as many parameters you want according to the number of question marks. &lt;strong&gt;&lt;em&gt;failure&lt;/em&gt;&lt;/strong&gt; is failure.jsp. So this onSubmit() function will return the view according to the status whether it's failure or success. Same like our execute() in Struts :P So you can remove the &lt;strong&gt;successView&lt;/strong&gt; property from &lt;strong&gt;dispatcher-servlet.xml&lt;/strong&gt; as we don't really need them. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Your imports for this &lt;strong&gt;LoginFormController.java&lt;/strong&gt; is like below : &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import Bean.LoginFormBean;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import Connection.datacon;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import javax.servlet.http.HttpServletRequest;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import javax.servlet.http.HttpServletResponse;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import javax.sql.DataSource;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import org.springframework.beans.factory.BeanFactory;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import org.springframework.beans.factory.xml.XmlBeanFactory;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import org.springframework.core.io.ClassPathResource;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import org.springframework.core.io.Resource;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import org.springframework.jdbc.core.JdbcTemplate;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import org.springframework.validation.BindException;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import org.springframework.web.servlet.ModelAndView;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;import org.springframework.web.servlet.mvc.SimpleFormController;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#cc6600;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;color:#000000;"&gt;No changes required for index.jsp page except adding on javascript validation if you want to. Run the application and see the results. :) &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-1818790176258480950?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/1818790176258480950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=1818790176258480950&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/1818790176258480950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/1818790176258480950'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2009/01/spring-mvc-login-app-part-3.html' title='Spring MVC : Login App Part 3'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-5547494715487488217</id><published>2009-01-01T11:12:00.005+08:00</published><updated>2009-01-01T13:39:58.533+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Image Editor'/><category scheme='http://www.blogger.com/atom/ns#' term='Photoscape'/><category scheme='http://www.blogger.com/atom/ns#' term='Software'/><category scheme='http://www.blogger.com/atom/ns#' term='Free'/><title type='text'>Softwares: PhotoScape - Free Photo Editing Software</title><content type='html'>For those seeking for a FREE &amp;amp; EASY software to edit your images, seek no further! Here comes &lt;a onclick="window.open(this.href);return false;" href="http://www.photoscape.org/"&gt;PhotoScape&lt;/a&gt;&lt;span style="font-size:78%;"&gt; (I think it's only approx. 14 MB)&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Features include:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;Viewer&lt;/strong&gt; : Slideshow, Fullscreen, Wallpaper, Lossless Rotation, Exif&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Editor&lt;/strong&gt; : Frames, Resize, Rotate, Brightness, Color, Contrast, Auto Level, Auto Contrast, Whitebalance, Curves, Sepia, Negative, Sharpen, Blur, Noise Reduction, Vignetting, Bloom, Gradient, Texture, Fisheye, Clipart, Balloon, Text, Figures, Crop, Red Eye Removal, Mosaic&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Batch Editor&lt;/strong&gt; : Frames, Resize, Filters, Objects&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Page&lt;/strong&gt; : Make one photo by merging multiple photos at the page frame&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Combine&lt;/strong&gt; : Make one photo by attaching multiple photos vertically or horizontally&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Animated GIF&lt;/strong&gt;&lt;strong&gt;:&lt;/strong&gt; Make one animation photo with multiple photos &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Print&lt;/strong&gt;&lt;strong&gt;:&lt;/strong&gt; Print portrait shot, carte de visite, passport photo &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Screen Capture&lt;/strong&gt;&lt;strong&gt;:&lt;/strong&gt; Capture your screenshot and save it &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Splitter:&lt;/strong&gt; Divide a photo into multiple parts &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Color Picker&lt;/strong&gt;&lt;strong&gt;:&lt;/strong&gt; Zoom in screen on images, search and pick the color &lt;/li&gt;&lt;li&gt;&lt;strong&gt;Raw Converter&lt;/strong&gt; : Convert RAW to JPG&lt;/li&gt;&lt;li&gt;&lt;strong&gt;Rename:&lt;/strong&gt; Change photo file names in batch mode &lt;/li&gt;&lt;/ul&gt;O_o loh bnyk giler... hahha i just cut and paste from their website actually. To view the screenshot just go visit &lt;a onclick="window.open(this.href);return false;" href="http://www.photoscape.org/"&gt;PhotoScape&lt;/a&gt; webbies! :D Best gune software ni! hehe&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-5547494715487488217?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/5547494715487488217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=5547494715487488217&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/5547494715487488217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/5547494715487488217'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2009/01/softwares-photoscape-free-photo-editing.html' title='Softwares: PhotoScape - Free Photo Editing Software'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-650090001839096570</id><published>2008-12-23T13:48:00.015+08:00</published><updated>2008-12-31T14:04:17.629+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>Spring MVC : Login App Part 2</title><content type='html'>&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;Now let's try some validation for our dummy project. Use back the same project from the &lt;/span&gt;&lt;a href="http://kookykoding.blogspot.com/2008/12/spring-mvc-login-app-part-1.html"&gt;&lt;span style="font-size:85%;"&gt;previous post&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;. Remember the validation that we used for our Struts before? (Hope u do :P) Its somewhat same as this one. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-size:85%;"&gt;First of all, get the &lt;em&gt;&lt;strong&gt;spring-form.tld&lt;/strong&gt;&lt;/em&gt; file from the &lt;strong&gt;&lt;em&gt;spring.jar&lt;/em&gt;&lt;/strong&gt; file. Extract it and you should be able to see that file residing inside the META-INF folder. Create a folder under WEB-INF in your project, name it as tld. Copy the tld file and paste it inside the tld folder. If you want to know more about the file, visit &lt;/span&gt;&lt;a href="http://static.springframework.org/spring/docs/2.0.x/reference/spring-form.tld.html"&gt;&lt;span style="font-size:85%;"&gt;this&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;. So your directory should be somewhat like below. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;p align="center"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/dir.jpg"&gt;&lt;img style="WIDTH: 350px; HEIGHT: 306px" src="http://imgboot.com/images/satyameltp19/dir.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Let's update our &lt;strong&gt;web.xml&lt;/strong&gt; file. Add the following code : &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;taglib&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;taglib-uri&amp;gt;/spring&amp;lt;/taglib-uri&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;taglib-location&amp;gt;/WEB-INF/tld/spring-form.tld&amp;lt;/taglib-location&amp;gt; &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;/taglib&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Next we'll update our bean file and our controller and we'll also add a new file for vaildation. Let's start off with our &lt;strong&gt;LoginFormBean.java. &lt;/strong&gt;This is our bean file, as you all know bean file consists of getters and setters. Since this is a login application, we'll add getters and setters for username and password. So create some functions as below :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-size:0;"&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;color:#cc6600;"&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;public class LoginFormBean { &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;String name; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;String password;&lt;br /&gt;public String getName() { &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;return name; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}&lt;br /&gt;public void setName(String name) { &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;this.name = name; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}&lt;br /&gt;public String getPassword() { &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;return password; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}&lt;br /&gt;public void setPassword(String password) { &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;this.password = password; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;} &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;Now add these lines to &lt;strong&gt;LoginFormController.java &lt;/strong&gt;under onSubmit function. System.out.println is optional :P&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;LoginFormBean loginBean = (LoginFormBean) command; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;System.out.println("Username: " + loginBean.getName()); &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;System.out.println("Password: " + loginBean.getPassword()); &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;return new ModelAndView("success"); //success here is the success.jsp&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Now for our validator file. Create &lt;strong&gt;LoginFormValidator.java&lt;/strong&gt; under Validator package. Add this code. Make sure you implement Validator. (&lt;em&gt;LoginFormValidator implements Validator&lt;/em&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;LoginFormBean loginBean;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&lt;br /&gt;@Override &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;public boolean supports(Class clazz) { &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;return clazz.equals(LoginFormBean.class); &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}&lt;br /&gt;@Override &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;public void validate(Object commandObject, Errors errors) {&lt;br /&gt;loginBean = (LoginFormBean) commandObject;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;ValidationUtils.rejectIfEmptyOrWhitespace(errors, "name", "name", "Name is required."); &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;ValidationUtils.rejectIfEmptyOrWhitespace(errors, "password", "password", "Password is required.");&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;if (!errors.hasFieldErrors("name") &amp;amp;&amp;amp; !errors.hasFieldErrors("password")) { &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;if ((loginBean.getPassword().equals("password") == false) &amp;amp;&amp;amp; (loginBean.getName().equals("admin") == false)) { &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;errors.rejectValue("name", "name", "Incorrect Login Details!"); &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;} &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;The validator class has 2 functions, &lt;em&gt;&lt;strong&gt;supports()&lt;/strong&gt;&lt;/em&gt; and &lt;strong&gt;&lt;em&gt;validate()&lt;/em&gt;&lt;/strong&gt; method. &lt;strong&gt;supports()&lt;/strong&gt; is used to check whether the validator supports the class and &lt;strong&gt;validate()&lt;/strong&gt; is used to validate the object of the supported class. &lt;strong&gt;&lt;em&gt;rejectValue()&lt;/em&gt;&lt;/strong&gt; takes in few arguments, in this example, it takes 3 arguments. First argument is for the bean property, second is the key value of the error message that exists in a resource file (here Ive ommited the resource file) so for this just keep it the same as the bean property, and third argument is the default error message in case the resource file is not found. (Resource file is the *.properties file)&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Next we're going to update our &lt;strong&gt;&lt;em&gt;index.jsp&lt;/em&gt;&lt;/strong&gt; page. Add this line right before the &amp;lt;html&amp;gt; tag. This is to use the tags from spring-form.tld. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;%@ taglib prefix="spring" uri="/&lt;strong&gt;&lt;span style="color:#000000;"&gt;spring&lt;/span&gt;&lt;/strong&gt;" %&amp;gt;&lt;/span&gt; &lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:Arial;"&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;The uri "spring" is the same as the one in &amp;lt;taglib&amp;gt; inside &lt;strong&gt;web.xml&lt;/strong&gt;. Make sure the name is same :P &lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;Start using the tags we have imported in the index.jsp. Its as follows : &lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;spring:form method="post" action="" commandName="login"&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;p&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;User name : &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;spring:input path="name"/&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;/p&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;p&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;Password : &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;spring:password path="password" /&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;/p&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;p&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;spring:errors cssClass="error" path="*"/&amp;gt;&amp;lt;br&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;/p&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;p&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;p&amp;gt; &lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&lt;br /&gt;&amp;lt;spring:errors cssClass="error" path="*"/&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;p&amp;gt;&lt;br /&gt;&amp;lt;input type="submit" name="Submit" value="Submit" /&amp;gt;&lt;br /&gt;&amp;lt;/p&amp;gt;&lt;br /&gt;&amp;lt;/spring:form&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Arial;"&gt;&lt;p&gt;&lt;/span&gt;&lt;/p&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#cc6600;"&gt;&lt;span style="font-family:arial;color:#000000;"&gt;and under the head tag we add the following css :&lt;/span&gt; &lt;/span&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#cc6600;"&gt;&lt;br /&gt;&amp;lt;style&amp;gt;&lt;br /&gt;.error { color: red; }&lt;br /&gt;&amp;lt;/style&amp;gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#cc6600;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#cc6600;"&gt;&lt;span style="font-family:arial;color:#000000;"&gt;&lt;strong&gt;cssClass="error"&lt;/strong&gt; is referring to that css above. For &lt;strong&gt;path="*"&lt;/strong&gt; , the * is a wildcard. Its referring to all the path (bean property) tag from the jsp . You can even specify one by one like this :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;spring:errors cssClass="error" path="name"/&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Courier New;font-size:85%;color:#cc6600;"&gt;&amp;lt;spring:errors cssClass="error" path="password"/&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;strong&gt;commandName="login"&lt;/strong&gt; here is the same as the commandName specified in the &lt;strong&gt;dispatcher-servlet.xml&lt;/strong&gt;.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Next we'll update our dispatcher-servlet.xml file. Since we have created a validator class, we'll make the validator being referred as well. Under the &lt;strong&gt;bean id = "loginForm"&lt;/strong&gt; add the following line : &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;property name="validator"&amp;gt;&amp;lt;ref bean="loginValidator"/&amp;gt;&amp;lt;/property&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:arial;font-size:85%;color:#000000;"&gt;Create a new bean id for the loginValidator ref bean above.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&amp;lt;bean id="loginValidator" class="Validator.LoginFormValidator" /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:courier new;font-size:85%;color:#cc6600;"&gt;&lt;bean class="Validator.LoginFormValidator" id="loginValidator"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;Now try to run the application. You should be able to get the errors if its entered wrongly or submitting without entering anything. &lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-650090001839096570?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/650090001839096570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=650090001839096570&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/650090001839096570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/650090001839096570'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2008/12/spring-mvc-login-app-part-2.html' title='Spring MVC : Login App Part 2'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-6696678935292452602</id><published>2008-12-23T08:40:00.013+08:00</published><updated>2008-12-24T11:34:30.242+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>Spring MVC : Login App Part 1</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;Let's continue with Spring by trying out a new application - Login. We'll enhance this all the way. Adding on sessions and etc... for now, lets create a dummy login. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Create project as shown before. Don't forget to change the *.htm to *.do when creating a new project. Edit the dispatcher-servlet.xml to become .do. We use back the index.jsp as our login page. Create another jsp namely &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;success.jsp&lt;/span&gt; in &lt;span style="FONT-WEIGHT: bold"&gt;WEB-INF/jsp&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Add the following code to index.jsp. This is our login page.&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;html&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;META http-equiv="Content-Type" content="text/html; charset=UTF-8"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;form id="form1" name="form1" method="post" action=""&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;p&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;User name :&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;input type="text" name="name"/&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;/p&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;p&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Password :&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;input type="password" name="password" /&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;/p&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;p&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;input type="submit" name="Submit" value="Submit" /&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;/p&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;/form&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;/html&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(0,0,0);font-family:arial;" &gt;Create 3 packages - Bean, Controller, Validator ( will be used in next tutorial). Under Bean package, create a java class - &lt;span style="FONT-WEIGHT: bold"&gt;LoginFormBean.java. &lt;/span&gt;Leave it empty (empty class). Under Controller package, create a java class - &lt;span style="FONT-WEIGHT: bold"&gt;LoginFormController.java. &lt;/span&gt;You can create this file by doing the following. Right click the project or from the file menu -&gt; New File -&gt; Spring Framework -&gt; Simple Form Controller . The codes will be generated for you.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(0,0,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/formcontroller.jpg"&gt;&lt;img style="WIDTH: 350px; HEIGHT: 306px" src="http://imgboot.com/images/satyameltp19/formcontroller.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: left"&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Remove the doSubmitAction and uncomment onSubmit function. Leave it as it is. Edit dispatcher-servlet.xml. Add the following code.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;bean id="&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,0,0)"&gt;loginForm&lt;/span&gt;" class="Controller.LoginFormController"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;property name="sessionForm"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;true&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/property&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;property name="commandName"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;login&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/property&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;property name="commandClass"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;Bean.LoginFormBean&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/property&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;property name="formView"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;index&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/property&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;property name="successView"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;success&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/value&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/property&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/bean&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;property name="mappings"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;map&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;entry key="/index.do"&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;ref bean="&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(51,0,0)"&gt;loginForm&lt;/span&gt;"/&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/entry&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/map&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/property&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;bean&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Remove the indexcontroller part. Notice that loginForm in the urlMapping bean is the same as the one above. Quoting from here.&lt;br /&gt;&lt;a href="http://www.devx.com/Java/Article/22134/0/page/4"&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/a&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;ul&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;&lt;blockquote&gt;&lt;/blockquote&gt;commandClass—the class of the object that will be used to represent the data in this form. &lt;span style="FONT-STYLE: italic"&gt;(tht is the bean)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;commandName—the name of the command object. &lt;span style="FONT-STYLE: italic"&gt;(bean name)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;sessionForm—if set to false, Spring uses a new bean instance (i.e. command object) per request, otherwise it will use the same bean instance for the duration of the session. &lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;validator—a class that implements Spring's Validator interface, used to validate data that is passed in from the form. &lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;formView—the JSP for the form, the user is sent here when the controller initially loads the form and when the form has been submitted with invalid data. &lt;span style="FONT-STYLE: italic"&gt;(input)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;li  style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;successView—the JSP that the user is routed to if the form submits with no validation errors. &lt;span style="FONT-STYLE: italic"&gt;(success)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Try and run your application. Make sure the login page appears. Next part of the tutorial will be the using validator..(like our struts) &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-6696678935292452602?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/6696678935292452602/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=6696678935292452602&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6696678935292452602'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6696678935292452602'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2008/12/spring-mvc-login-app-part-1.html' title='Spring MVC : Login App Part 1'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-3242574917258999707</id><published>2008-12-22T09:40:00.009+08:00</published><updated>2009-01-12T16:04:14.868+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>Another basic Spring tutorial</title><content type='html'>&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;After hours of figuring out how this Spring thingy works..finally came up with one simple app using controllers and stuff. So lets create an app to display values entered by user.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;Jar files usually needed for Spring are : &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;spring. jar&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;standard.jar&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;jstl.jar&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;taglibs-string. jar&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;commons-lang.jar&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;commons-logging-1.1.jar&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;spring-webmvc-2.5.jar&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;log4j-1.2.14.jar&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;You can get the jar files you need &lt;/span&gt;&lt;a style="FONT-FAMILY: arial" href="http://www.java2s.com/Code/Jar/Spring-Related/CatalogSpring-Related.htm"&gt;here&lt;/a&gt;&lt;span style="font-family:arial;"&gt;. &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Create a new project, here I've used the name springtest. So far no jar files are needed except the one which comes together with the netbeans project file. While creating new project, change the &lt;span style="FONT-STYLE: italic"&gt;*.htm&lt;/span&gt; to &lt;span style="FONT-STYLE: italic"&gt;*.do&lt;/span&gt; coz we want to use it the .do way :P (refer below)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;/span&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/do.jpg"&gt;&lt;img style="WIDTH: 350px; HEIGHT: 306px" src="http://imgboot.com/images/satyameltp19/do.jpg" border="0" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Create a jsp file under WEB-INF/jsp. Name it as test.jsp. (&lt;span style="COLOR: rgb(153,0,0); FONT-STYLE: italic"&gt;or any other name u like :P&lt;/span&gt;) Inside this test.jsp add the following code :&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;html&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;head&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;meta equiv="Content-Type" content="text/html; charset=UTF-8"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;title&amp;gt;JSP Page&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;form method="POST" action="/&lt;strong&gt;&lt;span style="color:#330000;"&gt;springtest&lt;/span&gt;&lt;/strong&gt;&lt;span style="color:#33cc00;"&gt;/&lt;strong&gt;dispatcher&lt;/strong&gt;&lt;/span&gt;/saveform.do"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;First Name:&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;input name="firstName" type="text" value=""&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;Last Name:&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;input name="lastName" type="text" value=""&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;input type="submit" value="Save Changes"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;lt;/html&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;springtest&lt;/strong&gt; here is the project name. &lt;strong&gt;dispatcher&lt;/strong&gt; here is the "&lt;em&gt;dispatcher&lt;/em&gt;"-servlet.xml. if you give the name as name-servlet.xml then your action will look like this :: /springtest/name/saveform.do.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Now we're goin to edit dispatcher-servlet.xml.&lt;br /&gt;&lt;br /&gt;change this &lt;span style="FONT-STYLE: italic"&gt;"&lt;span style="COLOR: rgb(102,51,0)"&gt;&lt;span style="font-family:courier new;"&gt;&amp;lt;prop key="/index.htm"&amp;gt;indexController&amp;lt;/prop&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-WEIGHT: bold; COLOR: rgb(102,51,0)"&gt;" &lt;/span&gt;&lt;/span&gt;to this&lt;span style="FONT-STYLE: italic"&gt; &lt;span style="FONT-STYLE: italic"&gt;"&lt;span style="COLOR: rgb(102,51,0);font-family:courier new;" &gt;&amp;lt;prop key="/test.do"&amp;gt;indexController&amp;lt;/prop&amp;gt;&lt;/span&gt;" &lt;/span&gt;&lt;/span&gt;coz we're goin to connect it to test.jsp. well practically u can give it any name. Its just like the name of ur .do in struts :P So your code should look like this.&lt;/span&gt;&lt;span style="FONT-STYLE: italic"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-STYLE: italic"&gt;&lt;/span&gt;&lt;span style="FONT-STYLE: italic"&gt;&lt;/span&gt;&lt;/span&gt;&lt;div style="TEXT-ALIGN: left"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;property name="mappings"&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;props&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;prop key="/index.do"&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;indexController&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/prop&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/props&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/property&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;/bean&amp;gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;and that code is related to this one.. &lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:arial;"&gt;see the word "&lt;span style="FONT-STYLE: italic"&gt;index"&lt;/span&gt; above? its the same index in the code below. How it works and all..will be figured out soon :P &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;" &gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:arial;font-size:85%;"  &gt;bean name="indexController"&lt;br /&gt;class="org.springframework.web.servlet.mvc.ParameterizableViewController"&lt;br /&gt;p:viewName="index" /&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;So if you want to load any file, just replace the word index with the file name. In this case, change them to test. so it becomes test.do. In redirect.jsp, change the url to "&lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;test.do&lt;/span&gt;". Try running the project and see if it runs correctly&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;. For some reason its not possible to run the specific file. It only works by running the whole project. This will be figured out soon as well..lol so patience!&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;So the final code : &lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color:#000000;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="color:#cc6600;"&gt;&amp;lt;bean id="defaultHandlerMapping" class="org.springframework.web.servlet.handler.BeanNameUrlHandlerMapping"/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;bean id="urlMapping" class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping"&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;property name="mappings"&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;props&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;prop key="/test.do"&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;indexController&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/prop&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/props&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/property&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/bean&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;bean name="indexController"&lt;br /&gt;class="org.springframework.web.servlet.mvc.ParameterizableViewController"&lt;br /&gt;p:viewName="test" /&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;Create a success page. Name it as &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;testsuccess.jsp&lt;/span&gt; for instance. Under this file, add the following code:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c'%&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt; //dont forget to add this at the top!&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;html&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;head&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;title&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;JSP Page&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/title&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/head&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;body&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;h2&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;Name &lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;c:out value="${name}"/&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/h2&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/body&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;/html&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;c:out here is somewhat the same as our bean write in struts. Here the name is the attribute name that we have passed from controller. We will see that below.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:arial;"&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;Create a package under source packages. Name it as controller.&lt;br /&gt;&lt;br /&gt;Under controller package, create java class called &lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;FormController.java&lt;/span&gt;. Inside this class, add the following codes :&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;package controller;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;import javax.servlet.http.HttpServletRequest;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;import javax.servlet.http.HttpServletResponse;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;import org.springframework.web.servlet.ModelAndView;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;import org.springframework.web.servlet.mvc.Controller;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;public class FormController implements Controller {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception {&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;return new ModelAndView("test");&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;//RequestDispatcher that will send the request to /WEB-INF/jsp/test.jsp&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;&lt;span style="FONT-STYLE: italic"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;Create second file under the controller package called&lt;span style="FONT-STYLE: italic"&gt;&lt;span style="FONT-STYLE: italic"&gt; &lt;span style="FONT-WEIGHT: bold"&gt;SaveController.java. &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-WEIGHT: bold"&gt;&lt;/span&gt;Add the following code:&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;package controller;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;import javax.servlet.http.HttpServletRequest;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;import javax.servlet.http.HttpServletResponse;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;import org.springframework.web.servlet.ModelAndView;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;import org.springframework.web.servlet.mvc.Controller;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;public class SaveController implements Controller {&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) throws Exception { &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;String firstName = request.getParameter("firstName"); &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;String lastName = request.getParameter("lastName"); &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;return new ModelAndView("testsuccess", "name" , firstName + lastName);&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;//RequestDispatcher that will send the request to /WEB-INF/jsp/testsuccess.jsp &lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0);font-family:courier new;" &gt;}&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="FONT-STYLE: italic"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;In this code, testsuccess is the jsp file. name is the attribute name which will be accessed by getParameter(), and firstName+lastName is the name that is sent thru that name attribute.&lt;br /&gt;&lt;br /&gt;Then lastly add these last 2 lines inside the dispatcher-servlet.xml.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;bean name="/dispatcher/displayform.do" class="controller.FormController"/&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;lt;&lt;/span&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;bean name="/dispatcher/saveform.do" class="controller.SaveController"/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;&lt;span style="font-size:0;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-family:courier new;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(204,102,0)"&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:arial;"&gt;these lines are similar to our struts-config.xml. bean name is the action name in struts. class is your java class (package.javaclassname)&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;Try running the whole application again. The output should be something like below :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/output2.jpg"&gt;&lt;img style="WIDTH: 350px; HEIGHT: 306px" src="http://imgboot.com/images/satyameltp19/output1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: center"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/output2.jpg"&gt;&lt;img style="WIDTH: 350px; HEIGHT: 306px" src="http://imgboot.com/images/satyameltp19/output2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="TEXT-ALIGN: left"&gt;&lt;span style="font-family:arial;font-size:85%;"&gt;This app is done without using form bean. That will be another tutorial :P&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="COLOR: rgb(51,0,0);font-family:arial;font-size:85%;"  &gt;Posted By - Lakshmi&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-3242574917258999707?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/3242574917258999707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=3242574917258999707&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/3242574917258999707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/3242574917258999707'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2008/12/another-basic-spring-tutorial.html' title='Another basic Spring tutorial'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-3119195875252200888</id><published>2008-12-20T15:17:00.068+08:00</published><updated>2008-12-21T00:01:50.566+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Mirc'/><category scheme='http://www.blogger.com/atom/ns#' term='Sysreset'/><category scheme='http://www.blogger.com/atom/ns#' term='File Download'/><title type='text'>Random Tutorial: How to use mIRC to find what you need</title><content type='html'>&lt;div style="text-align: justify;"&gt;Hi again! sejak ade orang update nih, rase bersemangat lak nak update hehe. ^0^ This is just a random tutorial on how you can use mIRC to download what you need. Usually I would use &lt;a style="font-weight: bold;" onclick="window.open(this.href);return false;" href="http://www.sysreset.com/"&gt;SysReset&lt;/a&gt; instead of the original &lt;a onclick="window.open(this.href);return false;" href="http://www.mirc.com/"&gt;&lt;span style="color: rgb(0, 0, 153); font-weight: bold;"&gt;m&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;IR&lt;/span&gt;&lt;span style="color: rgb(255, 204, 0);"&gt;C&lt;/span&gt;&lt;/span&gt;&lt;/a&gt; because, apart from just downloading files you can also serve your files &lt;span style="font-size:78%;"&gt;(Eg: mp3, zip, etc.)&lt;/span&gt; so that other people can download them from you local drive. I won't be talking about that for now maybe in another post perhaps. Quoting from the internet:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;SysReset&lt;/span&gt; is a script (fserve script) that allows users to run file servers using the Internet Relay Chat (IRC) technology.&lt;br /&gt;&lt;/blockquote&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;u&gt;Step-by-Step Sysreset Guide&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Go to &lt;a style="font-weight: bold;" onclick="window.open(this.href);return false;" href="http://www.sysreset.com/"&gt;SysReset&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUzejJ73DaI/AAAAAAAAACA/xHcQC8rhouQ/s1600-h/sysReserWebby.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 268px; height: 168px;" src="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUzejJ73DaI/AAAAAAAAACA/xHcQC8rhouQ/s320/sysReserWebby.jpg" alt="" id="BLOGGER_PHOTO_ID_5281841158542527906" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Download "&lt;span style="font-weight: bold; color: rgb(51, 51, 255);"&gt;Sysreset Full Installation pack&lt;/span&gt;", current version is 2.55 &amp;amp; run the installer&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUzkvsasagI/AAAAAAAAACI/u_YSHw_YHtw/s1600-h/sysResetInstaller.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 280px; height: 209px;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUzkvsasagI/AAAAAAAAACI/u_YSHw_YHtw/s320/sysResetInstaller.jpg" alt="" id="BLOGGER_PHOTO_ID_5281847971026856450" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Open the folder&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUzorEqbbEI/AAAAAAAAACQ/fG5JvfNQJ-k/s1600-h/sysResetFolder.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 232px; height: 201px;" src="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUzorEqbbEI/AAAAAAAAACQ/fG5JvfNQJ-k/s320/sysResetFolder.jpg" alt="" id="BLOGGER_PHOTO_ID_5281852289682467906" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Run &lt;span style="font-weight: bold;"&gt;mirc.exe&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_S1s85yqxlUQ/SUzthn5KKHI/AAAAAAAAACY/JNEndUSBNmg/s1600-h/runSysReset.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 245px; height: 167px;" src="http://3.bp.blogspot.com/_S1s85yqxlUQ/SUzthn5KKHI/AAAAAAAAACY/JNEndUSBNmg/s320/runSysReset.jpg" alt="" id="BLOGGER_PHOTO_ID_5281857624898938994" border="0" /&gt;&lt;/a&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Key in your Full Name (tipu2 pun ok gak), E-Mail, NickName &amp;amp; Alternative then go to &lt;span style="font-weight: bold;"&gt;Connect&lt;/span&gt; -&gt; &lt;span style="font-weight: bold;"&gt;Servers&lt;/span&gt; (For this tutorial I will teach you how to download &lt;a onclick="window.open(this.href);return false;" href="http://en.wikipedia.org/wiki/Manga"&gt;manga&lt;/a&gt; ^0^ from &lt;a onclick="window.open(this.href);return false;" href="http://gotlurk.net/"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;The&lt;/span&gt; &lt;span style="color: rgb(0, 0, 153);"&gt;Lurker&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;). In order to connect to the channel you must find out 2 things, 1 is the &lt;span style="font-weight: bold;"&gt;Server&lt;/span&gt;, 2 is the Channel's name. For this tutorial, the Server = &lt;span style="font-weight: bold;"&gt;irc.irchighway.net&lt;/span&gt;, Channel's name = &lt;span style="font-weight: bold;"&gt;#lurk&lt;/span&gt;. &lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUz0Di-s7iI/AAAAAAAAACg/aY5b186sc1E/s1600-h/sysresetServer.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 228px; height: 194px;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUz0Di-s7iI/AAAAAAAAACg/aY5b186sc1E/s320/sysresetServer.jpg" alt="" id="BLOGGER_PHOTO_ID_5281864804765330978" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Choose &lt;span style="font-weight: bold;"&gt;irchighway &lt;/span&gt;from the servers and &lt;span style="font-weight: bold;"&gt;double click&lt;/span&gt; on it.&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUz00SyB-LI/AAAAAAAAACo/3JpyM4GtRPk/s1600-h/okSysreset.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 237px; height: 202px;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUz00SyB-LI/AAAAAAAAACo/3JpyM4GtRPk/s320/okSysreset.jpg" alt="" id="BLOGGER_PHOTO_ID_5281865642230806706" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Click OK&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUz2PcOSPKI/AAAAAAAAACw/V2ZJkKvWbY4/s1600-h/connectSysReset.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 244px; height: 190px;" src="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUz2PcOSPKI/AAAAAAAAACw/V2ZJkKvWbY4/s320/connectSysReset.jpg" alt="" id="BLOGGER_PHOTO_ID_5281867208133328034" border="0" /&gt;&lt;/a&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Press The &lt;span style="font-weight: bold;"&gt;Connect &lt;/span&gt;Button &amp;amp; if you're using vista and it requires you to unblock, just unblock la. It's better if you u register your nickname :D coz some channels require that you're a registered user baru boleh masuk. Channels like &lt;span style="font-weight: bold;"&gt;#lurk&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(153, 51, 153);"&gt;Side Notes&lt;/span&gt; (How to Register your nickName)&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ol style="text-align: justify;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Type in &lt;span style="font-weight: bold;"&gt;/ns register (a password) (your email address)&lt;/span&gt; in the command slot (Eg: /ns register yourpassword mail@mail.com) and Enter. After that check your email and follow the instructions.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;If you wanna learn more go to &lt;a onclick="window.open(this.href);return false;" href="http://users.bigpond.net.au/romance-mf-home/BasicCommandsMirc.html"&gt;this site&lt;/a&gt;! They have some basic commands you can learn! :)&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;ul&gt;&lt;li&gt;Back to the main tutorial. Now we'll go to channel &lt;span style="font-weight: bold;"&gt;#lurk&lt;/span&gt; to download our manga! Click on &lt;span style="font-weight: bold;"&gt;favorites.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_S1s85yqxlUQ/SUz7ZxL2JAI/AAAAAAAAADA/FYr0uupecRU/s1600-h/sysResetFav2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 237px; height: 196px;" src="http://4.bp.blogspot.com/_S1s85yqxlUQ/SUz7ZxL2JAI/AAAAAAAAADA/FYr0uupecRU/s320/sysResetFav2.jpg" alt="" id="BLOGGER_PHOTO_ID_5281872883117073410" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Type in &lt;span style="font-weight: bold;"&gt;#lurk&lt;/span&gt; &amp;amp; &lt;span style="font-weight: bold;"&gt;join &lt;/span&gt;or if you wanna add the channel as fav, click on Add and press OK.&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUz8fPtapCI/AAAAAAAAADI/JHGTUO2Ddtg/s1600-h/joinLurk.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 196px; height: 232px;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUz8fPtapCI/AAAAAAAAADI/JHGTUO2Ddtg/s320/joinLurk.jpg" alt="" id="BLOGGER_PHOTO_ID_5281874076721914914" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Syabasss! Anda telah berjaya! weee!! But not yet there la... =p&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_S1s85yqxlUQ/SUz-XHQZm2I/AAAAAAAAADQ/Zq_4Fn1fOcE/s1600-h/sysResetLurkmain.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 261px; height: 195px;" src="http://4.bp.blogspot.com/_S1s85yqxlUQ/SUz-XHQZm2I/AAAAAAAAADQ/Zq_4Fn1fOcE/s320/sysResetLurkmain.jpg" alt="" id="BLOGGER_PHOTO_ID_5281876136037030754" border="0" /&gt;&lt;/a&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Now I shall teach you the basic command on how to find &amp;amp; download the particular manga you seek. First go to &lt;a onclick="window.open(this.href);return false;" href="http://gotlurk.net/"&gt;lurk&lt;/a&gt; website -&gt; Packlists -&gt; Choose which Bot Name you prefer (Eg: Neverwhere) and choose which manga you want. I will choose pack #1 which is Host_Club_v10_c45[Puri-Puri_Neko].zip&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SU0BOvUjIuI/AAAAAAAAADY/TZseede9pNw/s1600-h/choosepack.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 268px; height: 222px;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SU0BOvUjIuI/AAAAAAAAADY/TZseede9pNw/s320/choosepack.jpg" alt="" id="BLOGGER_PHOTO_ID_5281879290707911394" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Go back to SysReset and type &lt;span style="font-weight: bold;"&gt;/msg Neverwhere xdcc send #1&lt;/span&gt; &amp;amp; wait for it to finish download :D&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SU0CHtr_qmI/AAAAAAAAADg/78BeKiFoZDo/s1600-h/DLsysreset.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 254px; height: 189px;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SU0CHtr_qmI/AAAAAAAAADg/78BeKiFoZDo/s320/DLsysreset.jpg" alt="" id="BLOGGER_PHOTO_ID_5281880269521922658" border="0" /&gt;&lt;/a&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;After it finishes, go to your sysreset folder -&gt; download to view your downloaded manga!!&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SU0Cxqb_jMI/AAAAAAAAADo/RPDgLfyR0vA/s1600-h/sysresetDLfolder.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 263px; height: 142px;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SU0Cxqb_jMI/AAAAAAAAADo/RPDgLfyR0vA/s320/sysresetDLfolder.jpg" alt="" id="BLOGGER_PHOTO_ID_5281880990204005570" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;FINITO &amp;amp; HAPPY TRYING&lt;/span&gt;!!&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(255, 102, 0);"&gt;Side Notes&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;How to view manga/ img files without extracting the zip archive&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;? Use &lt;a onclick="window.open(this.href);return false;" href="http://www.geocities.com/davidayton/CDisplay"&gt;&lt;span style="font-weight: bold;"&gt;CDisplay Comic Reader&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;How to view all channel available in that particular server? &lt;/span&gt;&lt;span&gt;&lt;span style="font-size:85%;"&gt;Type &lt;/span&gt;&lt;span style="font-weight: bold;font-size:85%;" &gt;/list &lt;/span&gt;&lt;span style="font-size:85%;"&gt;in the command line&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;Okla, actually it's not finish yet :p hehe the above tutorial is just 1 way of downloading manga from mirc. I will now teach you &lt;span style="font-weight: bold;"&gt;another way&lt;/span&gt; to find and download manga from mirc using the same channel which is &lt;span style="font-weight: bold;"&gt;#lurk&lt;/span&gt;.&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Go back to the channel &lt;span style="font-weight: bold;"&gt;#lurk&lt;/span&gt; window and type in &lt;span style="font-weight: bold;"&gt;!list&lt;/span&gt; in the command. You will see something like this displaying.&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_S1s85yqxlUQ/SU0MYcN6mOI/AAAAAAAAADw/gdkd30EVsg4/s1600-h/listLurk.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 282px; height: 171px;" src="http://3.bp.blogspot.com/_S1s85yqxlUQ/SU0MYcN6mOI/AAAAAAAAADw/gdkd30EVsg4/s320/listLurk.jpg" alt="" id="BLOGGER_PHOTO_ID_5281891552006412514" border="0" /&gt;&lt;/a&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Observe the list displayed and choose any &lt;span style="font-weight: bold;"&gt;Triger&lt;/span&gt; from a particular user. I will choose a Trigger from the user with the nickname &lt;span style="font-weight: bold;"&gt;bight&lt;/span&gt; - [bight- [Fserve Active] - Trigger:[&lt;span style="font-weight: bold;"&gt;/ctcp bight Manga here&lt;/span&gt;] - Users:[0/5] - Sends:[0/1] - Queues:[0/20] - Message:[FTP info now available on !list command, upstream capped at 2mbit/s. Anime/manga/mp3s/DVDs/etc. only available on select channels.] ]&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Write the trigger&lt;span style="color: rgb(255, 0, 0);"&gt; &lt;/span&gt;&lt;span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;/ctcp bight Manga here&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;'&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;and a new window will appear.&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_S1s85yqxlUQ/SU0SYL7Ox3I/AAAAAAAAAD4/DZaGg8r3KwI/s1600-h/bightIRC.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 261px; height: 194px;" src="http://2.bp.blogspot.com/_S1s85yqxlUQ/SU0SYL7Ox3I/AAAAAAAAAD4/DZaGg8r3KwI/s320/bightIRC.jpg" alt="" id="BLOGGER_PHOTO_ID_5281898144702842738" border="0" /&gt;&lt;/a&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;You are now going to access the files serve by bight. Back to DOS Command! To view all the files available in his space, type in &lt;span style="color: rgb(0, 0, 0);"&gt;'&lt;/span&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 0);"&gt;dir&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;' &amp;amp; a list will appear.&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SU0UWgdnJLI/AAAAAAAAAEA/xdIz_MwcHD4/s1600-h/dirBight.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 261px; height: 195px;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SU0UWgdnJLI/AAAAAAAAAEA/xdIz_MwcHD4/s320/dirBight.jpg" alt="" id="BLOGGER_PHOTO_ID_5281900314879272114" border="0" /&gt;&lt;/a&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;The list without any extensions is of folder type so you will need to open the folder first by typing '&lt;span style="font-weight: bold;"&gt;cd [folder name]&lt;/span&gt;&lt;/span&gt;' (Eg: &lt;span style="color: rgb(0, 0, 0);"&gt;cd ZETTAI KARESHI&lt;/span&gt;) after that '&lt;span style="font-weight: bold;"&gt;dir&lt;/span&gt;' to display all the files available in that folder.&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0VN8BBd9I/AAAAAAAAAEI/mgmZjyh6c6s/s1600-h/cdDirZettai.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 276px; height: 205px;" src="http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0VN8BBd9I/AAAAAAAAAEI/mgmZjyh6c6s/s320/cdDirZettai.jpg" alt="" id="BLOGGER_PHOTO_ID_5281901267168360402" border="0" /&gt;&lt;/a&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;To download the file just type '&lt;span style="font-weight: bold;"&gt;get [file name.extension]&lt;/span&gt;' (Eg:get zettai_kareshi_v01.zip)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;Then don't forget to type '&lt;span style="font-weight: bold;"&gt;exit&lt;/span&gt;' to finish your session :D Dun wan you to get banned or sumthing.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;As usual, wait for the file to finish then go to sysreset folder -&gt; download and get your file.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;FINITO!!!&lt;/span&gt; &lt;span style="color: rgb(204, 0, 0);"&gt;^&lt;/span&gt;&lt;span style="color: rgb(0, 0, 153);"&gt;0&lt;/span&gt;&lt;span style="color: rgb(255, 0, 0);"&gt;^&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-3119195875252200888?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/3119195875252200888/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=3119195875252200888&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/3119195875252200888'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/3119195875252200888'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2008/12/random-tutorial-how-to-use-mirc-to-find.html' title='Random Tutorial: How to use mIRC to find what you need'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_S1s85yqxlUQ/SUzejJ73DaI/AAAAAAAAACA/xHcQC8rhouQ/s72-c/sysReserWebby.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-2939133120195603554</id><published>2008-12-20T13:16:00.020+08:00</published><updated>2008-12-20T22:44:29.816+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>PHP Tutorial for beginner - Lesson 1 : Setting up Apache &amp; MqSQL</title><content type='html'>&lt;div style="text-align: justify;"&gt;Hi peeps! I just wanna share a bit on PHP, I'm a total beginner myself so if anything's wrong with my tutorial please drop some C&amp;amp;C (constructive criticism).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;After searching through the internet, forums and by words of mouth I found out that &lt;a onclick="window.open(this.href);return false;" href="http://www.apachefriends.org/en/xampp.html"&gt;XAMPP&lt;/a&gt; is the most suitable program to use for beginners like myself. Quoting from the website itself:- &lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;blockquote&gt;XAMPP is an easy to install Apache distribution containing &lt;span style="font-weight: bold;"&gt;MySQL&lt;/span&gt;, &lt;span style="font-weight: bold;"&gt;PHP&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;Perl&lt;/span&gt;. XAMPP is really very easy to install and to use - just download, extract and start.&lt;/blockquote&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Step by Step Installation&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style="text-align: left;"&gt;&lt;li&gt;&lt;a onclick="window.open(this.href);return false;" href="http://www.apachefriends.org/en/xampp.html"&gt;XAMPP Website&lt;/a&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUyEx50kwaI/AAAAAAAAABQ/WYBsOUdAR4w/s1600-h/XAMPPmain.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 233px; height: 228px;" src="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUyEx50kwaI/AAAAAAAAABQ/WYBsOUdAR4w/s320/XAMPPmain.jpg" alt="" id="BLOGGER_PHOTO_ID_5281742455868539298" border="0" /&gt;&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Choose &lt;span style="font-weight: bold;"&gt;XAMPP for Windows&lt;/span&gt; (Depending on ur OS that is) and download. As for me, I'll go for &lt;span style="font-weight: bold;"&gt;ZIP archive&lt;/span&gt; because with this you're not required to install anything.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUyGCen5JDI/AAAAAAAAABY/3jtyAJlIKMk/s1600-h/zipArchived.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 252px; height: 219px;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SUyGCen5JDI/AAAAAAAAABY/3jtyAJlIKMk/s320/zipArchived.jpg" alt="" id="BLOGGER_PHOTO_ID_5281743840136995890" border="0" /&gt;&lt;/a&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Download and extract the Zip archive to your drive C:/ or something and use it. &lt;/li&gt;&lt;li&gt;Now it's time to run your server! Open your &lt;span style="font-weight: bold;"&gt;xampp&lt;/span&gt; folder and run &lt;span style="font-weight: bold;"&gt;setup_xampp.bat&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_S1s85yqxlUQ/SUyKdHlNMpI/AAAAAAAAABg/TcP_9NKEw4w/s1600-h/setup_xampp.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 161px;" src="http://4.bp.blogspot.com/_S1s85yqxlUQ/SUyKdHlNMpI/AAAAAAAAABg/TcP_9NKEw4w/s320/setup_xampp.jpg" alt="" id="BLOGGER_PHOTO_ID_5281748695854690962" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Next run &lt;span style="font-weight: bold;"&gt;xampp-control.exe&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_S1s85yqxlUQ/SUyLIxw9r5I/AAAAAAAAABo/uEngi_uNXNk/s1600-h/xampp-control.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 258px; height: 205px;" src="http://3.bp.blogspot.com/_S1s85yqxlUQ/SUyLIxw9r5I/AAAAAAAAABo/uEngi_uNXNk/s320/xampp-control.jpg" alt="" id="BLOGGER_PHOTO_ID_5281749445912670098" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li style="text-align: justify;"&gt;Go to Modules and start your &lt;span style="font-weight: bold;"&gt;Apache &lt;/span&gt;&amp;amp; &lt;span style="font-weight: bold;"&gt;MySql&lt;/span&gt;. If windows require you to unblock anything, just unblock it! :D&lt;/li&gt;&lt;li&gt;Now go to your web browser and type in "&lt;span style="font-weight: bold;"&gt;http://localhost/index.php&lt;/span&gt;".&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUyMvXHuUYI/AAAAAAAAABw/z_M0lnKIP08/s1600-h/xamppIndexPhp.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 258px; height: 127px;" src="http://2.bp.blogspot.com/_S1s85yqxlUQ/SUyMvXHuUYI/AAAAAAAAABw/z_M0lnKIP08/s320/xamppIndexPhp.jpg" alt="" id="BLOGGER_PHOTO_ID_5281751208286900610" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;Choose your language &amp;amp; you will be directed to the main controller page&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a onclick="window.open(this.href);return false;" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_S1s85yqxlUQ/SUyNKyaqsLI/AAAAAAAAAB4/ATuLKQi9ITE/s1600-h/englishxampp.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 281px; height: 180px;" src="http://4.bp.blogspot.com/_S1s85yqxlUQ/SUyNKyaqsLI/AAAAAAAAAB4/ATuLKQi9ITE/s320/englishxampp.jpg" alt="" id="BLOGGER_PHOTO_ID_5281751679470579890" border="0" /&gt;&lt;/a&gt;&lt;ul&gt;&lt;li&gt;You're basically DONE with installing Apache &amp;amp; MySQL =D&lt;/li&gt;&lt;/ul&gt;In lesson 2 I will show you how to do a simple PHP programming! tutu&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-2939133120195603554?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/2939133120195603554/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=2939133120195603554&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/2939133120195603554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/2939133120195603554'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2008/12/php-tutorial-for-beginner-lesson-1.html' title='PHP Tutorial for beginner - Lesson 1 : Setting up Apache &amp; MqSQL'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_S1s85yqxlUQ/SUyEx50kwaI/AAAAAAAAABQ/WYBsOUdAR4w/s72-c/XAMPPmain.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-2366974664623563420</id><published>2008-12-17T11:01:00.035+08:00</published><updated>2008-12-23T09:02:19.725+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Tutorial'/><category scheme='http://www.blogger.com/atom/ns#' term='Framework'/><category scheme='http://www.blogger.com/atom/ns#' term='Spring'/><category scheme='http://www.blogger.com/atom/ns#' term='Code'/><title type='text'>Very Very Basic Tutorial On Spring</title><content type='html'>&lt;div  align="left" style="font-family:arial;"&gt;&lt;span style="font-size:85%;"&gt;So since we have to use Spring/Hibernate framework for our Blood Bank project. Let's start with running the first application using NetBeans 6.0. Following are the steps..&lt;br /&gt;&lt;br /&gt;1. Create New Project. Select Web category and web application project. Click Next. &lt;/span&gt;&lt;/div&gt;&lt;p&gt;&lt;span style=";font-family:arial;font-size:78%;"  &gt;&lt;div align="center"&gt;&lt;a href="http://imgboot.com/"&gt;&lt;img style="width: 350px; height: 306px;" src="http://imgboot.com/images/satyameltp19/step1.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;br /&gt;2. Give a project name. Select the location you wish to create the project. Click Next.&lt;/span&gt;&lt;p&gt;&lt;span style=";font-family:arial;font-size:78%;"  &gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;a href="http://imgboot.com/images/satyameltp19/step2.jpg"&gt;&lt;img style="width: 350px; height: 306px;" src="http://imgboot.com/images/satyameltp19/step2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;3. Select the desired server and java EE version. Click Next.&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=";font-family:arial;font-size:78%;"  &gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;a href="http://imgboot.com/images/satyameltp19/step3.jpg"&gt;&lt;img style="width: 350px; height: 306px;" src="http://imgboot.com/images/satyameltp19/step3.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;4. Check Spring Web MVC 2.5 and click Finish&lt;/span&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=";font-family:arial;font-size:78%;"  &gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;a href="http://imgboot.com/images/satyameltp19/step4.jpg"&gt;&lt;img style="width: 350px; height: 306px;" src="http://imgboot.com/images/satyameltp19/step4.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:arial;"&gt;5. Open redirect.jsp page if it's not loaded. It shows a jsp tag that allows you to place the URL to the desired page. Right click the redirect.jsp and run the page.&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;p&gt;&lt;span style=";font-family:arial;font-size:78%;"  &gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;a href="http://imgboot.com/images/satyameltp19/step5.jpg"&gt;&lt;img style="width: 350px; height: 306px;" src="http://imgboot.com/images/satyameltp19/step5.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;6. This is what you'll see in the browser.&lt;/span&gt;&lt;br /&gt;&lt;p&gt;&lt;span style=";font-family:arial;font-size:78%;"  &gt;&lt;div align="center"&gt;&lt;br /&gt;&lt;a href="http://imgboot.com/images/satyameltp19/step7.jpg"&gt;&lt;img style="width: 350px; height: 306px;" src="http://imgboot.com/images/satyameltp19/step7.jpg" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;br /&gt;&lt;em&gt;"Hello! This is the default welcome page for a Spring Web MVC project.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To display a different welcome page for this project, modify index.jsp , or&lt;br /&gt;create your own welcome page then change the redirection in redirect.jsp to point to the new welcome page&lt;br /&gt;and also update the welcome-file setting in web.xml. "&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;More tutorials will be published soon.. :P&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: arial;font-size:85%;" &gt;&lt;span style="color: rgb(51, 0, 0); font-size: 85%;"&gt;Posted By - Lakshmi&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-2366974664623563420?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/2366974664623563420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=2366974664623563420&amp;isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/2366974664623563420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/2366974664623563420'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2008/12/very-very-basic-tutorial-on-spring.html' title='Very Very Basic Tutorial On Spring'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-6039099607743453182</id><published>2008-11-03T11:16:00.011+08:00</published><updated>2008-11-05T12:23:45.279+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='achievement'/><title type='text'>Congrats Ceti!</title><content type='html'>&lt;div style="text-align: center"&gt;&lt;img src="http://imgboot.com/images/satyameltp19/cetiframe.jpg" border="0"/&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=";font-family:arial;font-size:85%;"  &gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="color: rgb(51, 0, 0);font-family:arial;font-size:85%;"  &gt;&lt;span&gt;Our friend, Nur Izzati (fondly known as Ceti, Cetikus Endang, Chatti, Ijaati :P) received "Anugerah Emas Canselor" from Canselor Universiti Industri Selangor, Datin Seri Rosmah Mansor yesterday, 2nd November 2008 on her graduation day. .  :D  That is like a beeeeeeg achievement!! Congrats Ceti! We, ELTP 19 are sooo proud of you...&lt;br /&gt;&lt;br /&gt;Btw... her CGPA is 3.98 @_@  this should encourage you-uns to put more effort in your studies :P &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-size:78%;"&gt;(Source : &lt;a href="http://www.utusan.com.my/utusan/info.asp?y=2008&amp;amp;dt=1103&amp;amp;pub=Utusan_Malaysia&amp;amp;sec=Dalam_Negeri&amp;amp;pg=dn_02.htm"&gt;Utusan&lt;/a&gt; ,&lt;a href="http://www.bharian.com.my/Current_News/BH/Monday/Nasional/20081103000832/Article/index_html"&gt; Berita Harian&lt;/a&gt; )&lt;span style="text-decoration: underline;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 0, 0);font-family:arial;font-size:85%;"  &gt;Posted By - Lakshmi&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-6039099607743453182?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/6039099607743453182/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=6039099607743453182&amp;isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6039099607743453182'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6039099607743453182'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2008/11/congrats-ceti.html' title='Congrats Ceti!'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-8057102615591729005</id><published>2008-10-31T10:08:00.006+08:00</published><updated>2008-11-05T12:16:17.132+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Events'/><category scheme='http://www.blogger.com/atom/ns#' term='Contest'/><category scheme='http://www.blogger.com/atom/ns#' term='Halloween'/><title type='text'>Event @ Satyam : Halloween Contest (Most Haunted ODC)</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/satyamhalloween01.jpg"&gt;&lt;img style="width: 290px; height: 306px;" src="http://imgboot.com/images/satyameltp19/satyamhalloween01.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/satyamhalloween02.jpg"&gt;&lt;img style="width: 290px; height: 386px;" src="http://imgboot.com/images/satyameltp19/satyamhalloween02.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;u&gt;Thursday Preparation&lt;br /&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;a href="http://imgboot.com/images/satyameltp19/prephalloween.jpg"&gt;&lt;img style="width: 336px; height: 336px;" src="http://imgboot.com/images/satyameltp19/prephalloween.jpg" border="0" /&gt;&lt;/a&gt;&lt;u&gt;&lt;br /&gt;&lt;br /&gt;&lt;/u&gt;&lt;span style="font-weight: bold;"&gt;&lt;u&gt;Friday, Da Event Day!&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/halloween01.jpg"&gt;&lt;img style="width: 290px; height: 290px;" src="http://imgboot.com/images/satyameltp19/halloween01.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://imgboot.com/images/satyameltp19/halloween02.jpg"&gt;&lt;img style="width: 285px; height: 285px;" src="http://imgboot.com/images/satyameltp19/halloween02.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: right;"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/halloween03.jpg"&gt;&lt;img style="width: 285px; height: 285px;" src="http://imgboot.com/images/satyameltp19/halloween03.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;u&gt;Tuesday, Result Day!&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a href="http://imgboot.com/images/satyameltp19/satyamhalloween03.jpg"&gt;&lt;img style="width: 293px; height: 219px;" src="http://imgboot.com/images/satyameltp19/satyamhalloween03.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Alas we didn't win but it was much fun &amp;amp; most of us were havin' such a good time! =D Next year guys... &lt;span style="font-size:78%;"&gt;(Yahoo/msn online Halloween? coz I'm assumin' 90% of us might be migratin'...)&lt;/span&gt;! Good job on all the efforts... !&lt;br /&gt;&lt;br /&gt;&lt;a href="http://imgboot.com/images/satyameltp19/satyamhalloween04.jpg"&gt;&lt;img style="width: 283px; height: 210px;" src="http://imgboot.com/images/satyameltp19/satyamhalloween04.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="color: rgb(51, 0, 0);font-family:arial;font-size:85%;"  &gt;Posted By - Mino-Chan&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-8057102615591729005?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/8057102615591729005/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=8057102615591729005&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/8057102615591729005'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/8057102615591729005'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2008/10/event-satyam-halloween-contest-most.html' title='Event @ Satyam : Halloween Contest (Most Haunted ODC)'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3599062608547050245.post-6877909391499054007</id><published>2008-10-14T16:44:00.012+08:00</published><updated>2008-10-15T23:47:21.721+08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='intro'/><title type='text'>Welcome.... Irashaimasu!</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_S1s85yqxlUQ/SPRnUKhC1XI/AAAAAAAAAAU/QlXDCw59j9M/s1600-h/introCatz.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_S1s85yqxlUQ/SPRnUKhC1XI/AAAAAAAAAAU/QlXDCw59j9M/s320/introCatz.jpg" alt="" id="BLOGGER_PHOTO_ID_5256940261166208370" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:lucida grande;"&gt;Hi &amp;amp; welcome to the newly launched "&lt;span style="font-weight: bold;"&gt;Kooky Koding&lt;/span&gt;" blogspot. We hope you guys will be sharing all your recent &amp;amp; interesting finds here, be it programming, installer, even entertainment stuff or even your own creations. It's really a waste to see all those hard to google/search/learn programming codes, knowledge, interesting forwards go down the drain just like that... how bout posting them here, this way we can all learn something &amp;amp; maybe who knows, this blogspot might just be a time capsule for us in the future where we can dig out old stuff &amp;amp; reuse them...&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3599062608547050245-6877909391499054007?l=kookykoding.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://kookykoding.blogspot.com/feeds/6877909391499054007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3599062608547050245&amp;postID=6877909391499054007&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6877909391499054007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3599062608547050245/posts/default/6877909391499054007'/><link rel='alternate' type='text/html' href='http://kookykoding.blogspot.com/2008/10/welcome-irashaimasu.html' title='Welcome.... Irashaimasu!'/><author><name>Kooky Kitten</name><uri>http://www.blogger.com/profile/04370108230392322462</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='31' height='32' src='http://4.bp.blogspot.com/_S1s85yqxlUQ/SU0bW_8hDnI/AAAAAAAAAEU/G7QwgvNRftE/S220/catty.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_S1s85yqxlUQ/SPRnUKhC1XI/AAAAAAAAAAU/QlXDCw59j9M/s72-c/introCatz.jpg' height='72' width='72'/><thr:total>2</thr:total></entry></feed>
