Skip to Main Content
The MVC design pattern is very useful for architecting Web applications, which encourages developers to partition the applications as early as in the design phase. Nowadays, Struts Web applications based on MVC have become more and more popular in various fields, the unit testing and action-level security are the most important method for guaranteeing the applications quality.In this paper, we present a systematic solution for unit testing and action-level security of Struts Web applications. In the solution, we test the applications from model-view-controller (MVC) respectively, and secure Struts applications by different access control implementations. Lastly, an actual applied example is employed to illustrate the testing solution, verifies the effectiveness of the solution.
Date of Conference: 23-25 April 2010