How does the Jsp Expressions works ? What happens at the
back?

Answer Posted / rajini

An expression tag contains a scripting language expression
that is evaluated, converted to a String, and inserted
where the expression appears in the JSP file. Because the
value of an expression is converted to a String, you can
use an expression within text in a JSP file. Like
<%= someexpression %>
<%= (new java.util.Date()).toLocaleString() %>
You cannot use a semicolon to end an expression

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain scriptlet, expression and declaration in jsp.

553


What are the elements of a jsp page?

493


What is response sendredirect?

470


What is the use of pagecontext in jsp?

459


How does a jsp function?

502






Explain the various scope values for tag.

518


How are jsp(java server pages) better than asp(active server pages)?

480


Why we use jsp instead of html?

480


What is difference between java and jsp?

484


Why session is used?

467


Explain the advantages in jsp?

527


Why do we use jsp?

497


How do we print “
creates a new line in html” in jsp?

671


What does jsp mean in text?

476


What is tld in jsp?

488