| | I was wondering if someone could explain to me the differences / upgrades that are in JSP 2.0 over JSP 1.2. If someone could tell me what's new, or some websites to go to, it would be much appreciated. Thank you for your help. |
|
To control the EL u use the attribute in the page tag. <%@ page isELEnabled="true|false"%> The syntax of EL is : ${expr} where expr can be any valid expresion like boolean, integer, float, String or null. It can be used to refer to implicit objects available in the jsp page, just like those available in scriptlets. These are: 1. pageContext 2. param 3. paramValues 4. header 5. headerValues 6. cookie 7. pageScope 8. requestScope ... The variables and methods of these objects can be accessed directly. ${param.name} <=> request.getParameter(name) also it can be used as ${6*3}, gives 18. It is a powerful language, intended to reduce the use of scriptlets in the JSP file so as to completely separate the presentation and business logic. Other features include --> JSP fragments --> Tag files --> Simple Tag Handlers ( implementing the SimpleTag interface) I would post more detailed info as soon as I am able to. The best reference for this specification would be : http://www.jcp.org/aboutJava/communityprocess/first/jsr152/ Also, finally there is always GOOGLE..... Cheers.
Recent Queries:-
Keywords : jsp jsp
|
|
![]() Jsp 2.0 Or 1.2 - What is new in JSP 2.0 |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute your information that might help someone here. Ask your Doubts & Queries to get answers.. "Together, We enlight each other!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|