Powered by Syntax Highlighter scripts!

tag libs in 2.3 and 2.4 webapp

Recently came across migrating the 2.3 Webapp to 2.4 webapp and one of new learning is to change the taglib directives.
Taglibs in web.xml of 2.3 is as below:
<taglib>
<taglib-uri>/spring</taglib-uri>
<taglib-location>/WEB-INF/lib/spring.tld</taglib-location>
</taglib>
To make the same tags work in 2.4 web-apps the above section should be encapsulated in tag <jsp-config> as given below.
<jsp-config>
<taglib>
<taglib-uri>/spring</taglib-uri>
<taglib-location>/WEB-INF/lib/spring.tld</taglib-location>
</taglib>
</jsp-config>

ref: http://forums.sun.com/thread.jspa?threadID=691985

Issue with Struts Portlet and Events in JSR 286

Just came across the following link which says the Struts Portlet cannot use the Events feature of the JSR 286 specifications and hence the wires cannot be created.
The solution is to stick with JSR 168 specifications if the portlets are to be wired and use Struts portlet framework.