How does the Jsp Expressions works ? What happens at the
back?
Answer Posted / vinoth mca
JSP expressions are a quick way to insert data into an HTML page. In Math, an expression is a way to represent a single value different ways. I could represent the number 6 with the expressions, (3+3) or (2*3). In JSP, the idea is the same. But instead of coming up with a mathimatical value, the result of an expression is converted to a string it can be displayed as part of an HTML Page.
An expression is enclosed in these tages: <%= %> For example, To add 2+2 and display the result, you would enter the following:
<%= 2+2 %>
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
What is a session in web?
What is a output comment?
Why we use jsp instead of html?
What are the jsp lifecycle phases?
What is jsp expression language and what are it’s benefits?
What are the two types of comments supported by jsp?
How can information from one JSP be passed to another JSP?
What are context initialization parameters?
What are jsp lifecycle methods?
What is a expression?
Is there a way I can set the inactivity lease period on a per-session basis?
How to include static files in a JSP page?
How do you delete the session data?
Why should we not configure jsp standard tags in web.xml?
How to ignore the el expression evaluation in a jsp?