Struts Basics. SSE USTC Qing Ding. Agenda. What is and Why Struts? Struts architecture Controller: Focus of this presentation Model View Struts tag library Internationalization Validation and error handling View selection. What is Struts?. Jakarta Struts.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
What is Struts?
(Provided by Framework)
Server configured to pass *.do extensions to org.apache.struts.action.ActionServlet via a web.xml configuration file
ActionServlet object inspects the URI and tries to match it against an ActionMapping located in the struts-config.xml file
Instance of appropriate Action class is found and it’s execute() is called.
Action object handles the request and returns a next view. View is identified by ActionForward objerct.
RequestProcessor(Provided by Framework)
(You provide it)