The dependences between statements in the Java Web application program are defined
and the method of constructing the system dependence graph based on the analysis of dependence is introduced.The program slice can be computed by using the two-pass slicing algorithm on the system dependence graph.The program slicing technique can facilitate the debugging
testing and maintenance of the Web application program in the progress of development of the Web application software or system.