Search Options
close
Search the following clips:
All Clips
Everyone's Clips
My Guides
Sign Up
Install
Learn More
Login
Struts MVC Architecture Tutorial
vaannila
follow
0
6-30-2009 4:28 PM
386 views
tags:
struts
,
mvc
,
architecture
,
example
,
tutorial
vaannila
says:
Struts MVC Architecture Example
Add a Comment
Login
to Comment. Not a member yet?
Sign up
Today's Top Clips
Supreme Court Votes to Hide the Truth
The real threat to "traditional" marriage: heterosexual couples who don't think the way they're supposed to
Cult of Conservative Christian GOPers Backs Death Penalty for Gays With HIV
THIS JUST IN: The “Suck and Glare”
9 of the most stupid lawsuits filed by inmates
20 Beautiful Photo Manipulation
UK honour killing 'wake-up call'
Obama's Aunt: "I loved President Bush"
The Power Of Public Option
Financial Crisis Hits Dubai, in pictures [37 photos]
visit the
Top Clips page
View the Top Clips from
June 30, 2009
Embed This Clip In Your Site...
<div style="margin: 12px 0px; font-family: arial; color: #333333; background: #ffffff; border: solid 4px #e5e5e5; width: 100%; clear: left;"><div class="CM_CTB_Content_Wrap" style="margin: 0px; padding: 0px;background-color: #ffffff;"><div style="border-bottom: solid 1px #dcdcdc; white-space: nowrap; margin-bottom: 8px; background-color: #eeeeee ;background-image: url(http://clipmarks.com/images/source-bg.gif); background-repeat: repeat-x; height: 24px; line-height: 24px; vertical-align: middle; padding-bottom: 4px; color: #666666; font-size: 10px;" ><a href="http://clipmarks.com/clip-to-blog/" title="see clips that are hot right now"><img src="http://content.clipmarks.com/blog_embed/39cd7ebd-c168-4cd7-abbc-bafb2e97d643/1458043E-B97D-4985-A57F-AA2B6D06294D/" alt="" width="19" height="19" border="0" style="vertical-align: middle; margin: 0px 4px; display: inline; border: none; float:none;" /></a>clipped from <a title="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html" href="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html" style="font-size: 11px;">www.vaannila.com</a></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html"><H1>Struts MVC Architecture</H1></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html"><P> The <STRONG>model</STRONG> contains the business logic and interact with the persistance storage to store, retrive and manipulate data. </P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html"><P> The <STRONG>view</STRONG> is responsible for dispalying the results back to the user. In Struts the view layer is implemented using JSP. </P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html"><P> The <STRONG>controller</STRONG> handles all the request from the user and selects the appropriate view to return. In Sruts the controller's job is done by the <EM>ActionServlet</EM>. </P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html"><P> The following events happen when the Client browser issues an HTTP request. </P></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html"><li style="margin-left:16px;padding-left: 0px;"> The <EM>ActionServlet</EM> receives the request.</LI></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html"><li style="margin-left:16px;padding-left: 0px;"> The <EM>struts-config.xml</EM> file contains the details regarding the <EM>Actions</EM>, <EM>ActionForms</EM>, <EM>ActionMappings</EM> and <EM>ActionForwards</EM>.</LI></blockquote><div style="height: 2px; font-size: 2px; background: #dcdcdc; border-bottom: solid 1px #f5f5f5; margin: 2px 4px;"></div><blockquote style="text-align: left; padding: 0px 8px; margin: 4px 0px 8px 0px; background: transparent; border: none;" cite="http://www.vaannila.com/struts/struts-tutorial/struts-mvc-architecture-tutorial.html"><li style="margin-left:16px;padding-left: 0px;"> During the startup the <EM>ActionServelet</EM> reads the <EM>struts-config.xml</EM> file and creates a database of configuration objects. Later while processing the request the <EM>ActionServlet</EM> makes decision by refering to this object.</LI></blockquote></div><div style="margin: 0px 6px 6px 4px;"><table style="font-size: 11px;border-spacing: 0px;padding: 0px;" cellpadding="0" cellspacing="0" width="100%"><tr><td style="background:transparent;border-width:0px;padding:0px;"> </td><td align="right" style="background:transparent;border-width:0px;padding:0px;width:107px" width="107"><a href="http://clipmarks.com/share/1458043E-B97D-4985-A57F-AA2B6D06294D/blog/" title="blog or email this clip"><img src="http://content9.clipmarks.com/images/c2b-foot.png" border="0" alt="blog it" width="107" height="17" style="border-width:0px;padding:0px;margin:0px;" /></a></td></tr></table></div></div>
New from the makers of Clipmarks:
Amplify.com - Don't just share the news...Amplify it!
Clipmarks
Home
New Clips
Top Clips
Dashboard
Popular Topics
News
Life
Science
Technology
Entertainment
Get Started
Sign Up
Install Clipping Tool
How Clipping Works
Clip-to-Blog™
ClipSearch
Tools and Resources
FAQ
ClipWeek
Top Clippers
Top Tags
Site Map
About Clipmarks
About Us
Contact
Copyright
Privacy
EULA
OK