wood burning stoves 2.0*
The moose likes JSP and the fly likes JSP Expressions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Expressions" Watch "JSP Expressions" New topic
Author

JSP Expressions

Anudeep Duvvuri
Greenhorn

Joined: May 18, 2012
Posts: 29
In Jsp Spec I have read the following under the topic expression

"An expression element in a JSP page is a scripting language expression that is evaluated and the result is coerced to a String"

Why should the evaluated result should be coerced to a String can anyone explain in detail
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41180
    
  45
Because JSPs generate character data, and the Java datatype for character data is the String.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JSP Expressions
 
Similar Threads
EL relational operators and empty string ""
Issues with Character comparison in JSTL 1.1
expressions in JSP
operators and precedence
rtexpvalue in custom tags