Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Where do I create jsp in eclipse?

881


What are the three tags used in jsp bean development?

836


What is contextpath in jsp?

880


What are the types of jstl tags?

887


Is jsp better than servlet?

859


How we can use javascript with jsp pages?

942


How can I use the results of my method? ea: <%! method (int x) { stuff return y; } %> <% out.println(y); %> how can I make this work? "y" is a variable made during the method.

2044


What is jsp? Explain

894


What is the page directive is used to prevent a jsp page from automatically creating a session?

913


Mention the implicit objects in a jsp.

949


Mention the advantages of jsp over pure servlets?

879


Can we call destroy method inside init method?

867


How can I handle jsp page errors?

908


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?

958


How can I use jsp in the mvc model?

895