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

Hi, I've applied for HPCL(Information System Officer)& UIIC (A).Plz send me previous/sample papers and any suggestions regarding this exam.Please advice me good study material or related links. Thanks in advance shyam shyamprasad71@gmail.com

1961


What do jsp literals consist of?

721


What is meant by jsp?

515


What are the benefits of pagecontext implicit object?

773


Can a subsequent request be accessed with one’s servlet code, if a request attribute is already sent in his jsp?

525






Explain jsp?

550


Define scriptlet, expression and declaration in jsp?

509


How can I extend the functionality of jsp?

513


What are the advantages of jstl?

486


Why is used in jsp?

495


What is the jspdestroy() method?

562


What is _jspservice method?

520


What is dynamic web project?

508


What is jsp api?

484


How do I open a jsp file?

576