Sets the session attribute. @param value The session value @param n The node @param err The error dispatcher @throws JasperException if the session value is invalid
(String value, Node n, ErrorDispatcher err)
| 662 | * @throws JasperException if the session value is invalid |
| 663 | */ |
| 664 | public void setSession(String value, Node n, ErrorDispatcher err) throws JasperException { |
| 665 | |
| 666 | if ("true".equalsIgnoreCase(value)) { |
| 667 | isSession = true; |
| 668 | } else if ("false".equalsIgnoreCase(value)) { |
| 669 | isSession = false; |
| 670 | } else { |
| 671 | err.jspError(n, "jsp.error.page.invalid.session"); |
| 672 | } |
| 673 | |
| 674 | session = value; |
| 675 | } |
| 676 | |
| 677 | /** |
| 678 | * Returns the session attribute value. |
no test coverage detected