Write down the Valid and Invalid JSP Expressions
Valid:
- All primitive literals are valid.
- String literals are allowed.
- Anything that resolves to Boolean is fine.
- Object declaration is allowed.
- Method calls should always result in a value( primitive, String, Boolean).
Invalid:
- Semicolon should be avoided at the end of the statement.
- No variable declarations are allowed.
- Method calls should not result in a void value.
0 Comments:
Post a Comment
<< Home