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
How to delete a cookie in a jsp?
How we can include the result of another page in jsp?
What is _jspservice method?
What do jsp literals consist of?
Can we override the jspinit(), _jspservice() and jspdestroy() methods?
Explain what is jsp ?
How do I use sendredirect?
Are dialogue tags necessary?
What do you mean by custom tag in jsp?
What are the types of directives in jsp?
What are the types of jstl tags?
What is jsp action tags?
Where do I create jsp in eclipse?
What is a translation unit?
What are the advantages and disadvantages of thread-safe jsp page?