Static Analysis for Java Servlets and JSP

Christian Kirkegaard, Anders Møller
2006 BRICS Report Series  
We present an approach for statically reasoning about the behavior of Web applications that are developed using Java Servlets and JSP. Specifically, we attack the problems of guaranteeing that all output is well-formed and valid XML and ensuring consistency of XHTML form fields and session state. Our approach builds on a collection of program analysis techniques developed earlier in the JWIG and X<small>ACT</small> projects, combined with work on balanced context-free grammars. Together, this
more » ... ovides the necessary foundation concerning reasoning about output streams and application control flow.
doi:10.7146/brics.v13i10.21915 fatcat:z4du4hyrdrektdqlfgog2hutri