{"id":87,"date":"2006-04-12T21:36:27","date_gmt":"2006-04-13T02:36:27","guid":{"rendered":"http:\/\/www.hoodedhawk.com\/blog\/2006\/04\/12\/jsp-20-expression-language-talk-by-marty-hall\/"},"modified":"2006-04-12T21:45:47","modified_gmt":"2006-04-13T02:45:47","slug":"jsp-20-expression-language-talk-by-marty-hall","status":"publish","type":"post","link":"https:\/\/www.hoodedhawk.com\/blog\/jsp-20-expression-language-talk-by-marty-hall\/","title":{"rendered":"JSP 2.0:  Expression Language (talk by Marty Hall)"},"content":{"rendered":"<p>The monthly Columbia (Maryland) BEA user group meeting was tonight, and Marty Hall (<a href=\"http:\/\/coreservlets.com\/\">coreservlets.com<\/a>) gave a very engaging and interesting talk about the new JSP 2.0 (Servlet 2.4) expression language.  Now you can replace the verbose:<br \/>\n<code><br \/>\n&lt;jsp:useBean id=\"someName\"<br \/>\n                    type=\"somePackage.someClass\"<br \/>\n                    scope=\"request, session, or application\" \/&gt;<br \/>\n&lt;jsp:getProperty name=\"someName\"<br \/>\n                        property=\"someProperty\" \/&gt;<br \/>\n<\/code><\/p>\n<p>with:<\/p>\n<p><code>${someName.spmeProperty}<\/code><\/p>\n<p>-That&#8217;s the best reason for JSP 2.0 Expression Language.  You&#8217;ll need an app server that supports the servlet 2.4 spec (i.e. Weblogic 9)&#8230;<\/p>\n<p>I <a href=\"http:\/\/hoodedhawk.com\/audio\/index.php?q=f&#038;f=%2Fmarty_hall\">recorded Marty&#8217;s lecture<\/a>, and have a link there to the materials from his website.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The monthly Columbia (Maryland) BEA user group meeting was tonight, and Marty Hall (coreservlets.com) gave a very engaging and interesting talk about the new JSP 2.0 (Servlet 2.4) expression language. Now you can replace the verbose: &lt;jsp:useBean id=&#8221;someName&#8221; type=&#8221;somePackage.someClass&#8221; scope=&#8221;request, session, or application&#8221; \/&gt; &lt;jsp:getProperty name=&#8221;someName&#8221; property=&#8221;someProperty&#8221; \/&gt; with: ${someName.spmeProperty} -That&#8217;s the best reason for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[6],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hoodedhawk.com\/blog\/wp-json\/wp\/v2\/posts\/87"}],"collection":[{"href":"https:\/\/www.hoodedhawk.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hoodedhawk.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hoodedhawk.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hoodedhawk.com\/blog\/wp-json\/wp\/v2\/comments?post=87"}],"version-history":[{"count":0,"href":"https:\/\/www.hoodedhawk.com\/blog\/wp-json\/wp\/v2\/posts\/87\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hoodedhawk.com\/blog\/wp-json\/wp\/v2\/media?parent=87"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hoodedhawk.com\/blog\/wp-json\/wp\/v2\/categories?post=87"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hoodedhawk.com\/blog\/wp-json\/wp\/v2\/tags?post=87"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}