AJAXWorld News Desk
JSP Controls Tag Library 0.5 For AJAX Released
Allows Building Dual-Mode JSP Components That Work in Both AJAX and Standard Mode
Mar. 17, 2006 08:15 AM
Digg This!
JSP Controls Tag Library (the “Library”) allows building dual-mode JSP components that work in both AJAX and standard mode off the same codebase. The portlet-like components handle input and render output in decentralized manner, therefore a central controller or other coordinator like a portal engine is not required.
The Library utilizes two request processing concepts:
• Redirect-After-Post for synchronous HTTP request/response cycle (non-AJAX mode), and
• In-place update for asynchronous request/response cycle (AJAX mode).
JSP components take advantage of AJAX mode whenever possible. If Javascript or XMLHTTPRequest object is not supported, the components fall back to standard synchronous mode, with no visible degradation of user expereince. Switching Javascript on and off is possible during interaction.
Pages composed with the Library look and behave the same way whether they run in AJAX mode or in traditional synchronous mode. In fact, a browser that renders web page in an off-screen buffer, may deliver the same flicker-free experience in non-AJAX mode as other browsers do in AJAX mode.
System Requirements
• Java SDK 1.4.2+
• Servlet container, supporting servlet specification 2.3+ and JSP specification 1.2+ (for example, Tomcat 4)
• Browser supporting either bare HTTP 1.1 (for standard mode) or Javascript + XMLHTTPRequest (for AJAX mode).
More information is available on the project page at www.jspcontrols.sourceforge.net
About RIA News DeskEver since Google popularized a smarter, more responsive and interactive Web experience by using AJAX (Asynchronous JavaScript + XML) for its Google Maps & Gmail applications, SYS-CON's RIA News Desk has been covering every aspect of Rich Internet Applications and those creating and deploying them. If you have breaking RIA news, please send it to RIA@sys-con.com to share your product and company news coverage with AJAXWorld readers.