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
Why do we use expression language in jsp?
What is meant by implicit objects and what are they?
What is jsp api?
Which attribute specifies a jsp page that should process any exceptions thrown but not caught in the current page? : Citibank
What is context in jsp?
How will you use jsp el in order to get the http method name?
How can we avoid direct access of jsp pages from client browser?
What is jsp technology?
How to include static files in a JSP page?
What is client side technology?
How does a servlet communicate with a jsp page?
What are directives in jsp?
Which one is better jsp or servlet?
How do you prevent the creation of a session in a jsp page and why? What is the difference between include directive & jsp:include action?
Is jsp server side or client side?