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


Please Help Members By Posting Answers For Below Questions

What is application in jsp?

462


What are different implicit objects of jsp?

487


write a program in javasacript to shake the window

2479


What is a output comment?

558


Write a simple example for the clone() method.

488






Is jsp technology extensible?

653


What is jsp? Explain

540


Why is used in jsp?

493


What is a declaration statement?

489


Which jsp methods can be overridden?

516


how to write the code of jsp program?

1938


What are the benefits of pagecontext implicit object?

767


What are the different scope values for the jsp objects?

503


How do I open a jsp file?

564


What is session object in jsp?

581