Java Doc for HtmlTextTagTest.java in » Testing » mockrunner-0.4 » com » mockrunner » example » tag » Java Source Code / Java DocumentationJava Source Code and Java Documentation
Example test for the
HtmlTextTag .
The example demonstrates how to use deferred expressions
with the #{...} syntax. Mockrunner supports the
evaluation of expressions with the ${...}
and #{...} syntax. You have to set
com.mockrunner.mock.web.JasperJspFactory as the default
JSP factory. The
com.mockrunner.mock.web.MockJspFactory ,
which is the predefined JSP factory, does not support the
evaluation of expressions. Expression evaluation only works
with the unified Expression Language API introduced with JSP 2.1.