cwlr.net
ǰλãҳ >> ΪʲôҪʹStruts2 >>

ΪʲôҪʹStruts2

Struts2 һ൱ǿJava WebԴܣһPOJOActionMVC WebܡڵWebworkXWorkܣ̳ŵ㣬ͬʱ൱ĸĽ 1.Struts2MVCܹܽṹһĿȻԱԺܺõƿؿ...

ServletJavaдķ˳Ҫڽʽ޸ݣɶ̬WebݡServlet֧JavaӦ÷СԭϽServletӦκ͵󣬵ServletֻչHTTPЭWeb...

Struts2SpringϺ󣬿ʹSpringļapplicationContext.xmlϵStruts2ļstruts.xmlʹSpringbean

webwork øϵƣϵͳactionservlet APIϣʹԪԸ㣬ϵͳB/SṹC/Sṹת webworkָ֧ıֲ㼼velocityfreemarkerxslt webworkwebӦʹãwebworkԼĿƷת...

interceptorStruts2ǿ֮һҲ˵struts2ĺģActionresultִ֮ǰ֮һЩͬʱҲ㽫ͨõĴģ黯Ϊõࡣ Struts2еĺܶԶ...

֤̰߳ȫΪservletstruts1̰߳ȫģ˵ÿɱʵʱ⣬struts2Ͳ

ʵ˶ߵĺϲˣactionSpringϱ˴˵ĹϵˣDZ˴˿ֻԼ£ֹȷЧʡ£ 1struts2.xmlд 2applicatinContext.xmlд

struts2еactionԼ̳ActionSupportҲԲ̳ActionSupport ̳ActionSupportֻҪһStringɣסڼ̳ActionSupport£޲ι캯 ̳ActionSupportĺôڣ 1ܹʹs...

struts2ĹĿǹ˷Ҫ,actionβȫʹstruts2 ûɻΪʲôstruts2ıǩˡģ͡ݰ󶨵ЩʵֵģΪʲôǰдͨwebʱҪservlet...

servletжÿɡֻdopostdogetÿҪNewDzǺˡ

վҳ | վͼ
All rights reserved Powered by www.cwlr.net
copyright ©right 2010-2021
磬ַϵͷzhit325@qq.com