摘要
为了解决Web应用中动态级联菜单问题,采用Struts框架技术和Hibernate数据持久化技术,以Tomcat为Web服务器、以SQLServer2000为数据库实现MVC模式,提出一种全新的动态级联菜单解决方案。结果表明:在实现动态级联菜单过程中,Struts技术为Web设计提供了安全、高效的MVC框架;所有的数据请求及数据转发由Struts的核心ActionServlet承担,简化业务流程;Hibernate技术为数据持久化提供了可靠、高效的方式,使Struts可以轻易地通过Java对象访问、操纵数据库。该方法对Web设计具有一定的参考价值和指导意义。
For the purpose of using dynamic cascade menu in Web App,this article put forward a new means to implement MVC pattern on the Web server Tomcat and database SQLServer2000,based on Struts framework technique and Hibernate data persistent technique,and then solves the problem of dynamic cascade menu.The result indicates that Struts technique provides safe and efficient MVC framework for Web design in the course of implementing dynamic cascade menu.ActionServlet,the core of Struts,deals with all data request and data transmitting,and then simplifies business flow.Hibernate technique provides a credible and efficient mode for data persistence and then makes Struts easily accessing and controlling database by Java Object.The means has reference value and directing sense for Web design.
出处
《辽宁工程技术大学学报(自然科学版)》
CAS
北大核心
2007年第S2期179-181,共3页
Journal of Liaoning Technical University (Natural Science)