JavaScript EE, Part 3, Use Java scripting API with JSP

Build JavaScript code that runs on the Web server or in the Web browser

From the developerWorks archives

Andrei Cioroianu

Date archived: April 22, 2019 | First published: June 02, 2009

In the previous two parts of this series, you've seen how to run JavaScript files on the server and how to call remote JavaScript functions with Ajax. This article explains how to use server-side JavaScript code with the Java™Server Pages (JSP) technology and how to build Asynchronous JavaScript and XML (Ajax) user interfaces that remain functional when JavaScript is disabled in the Web browser. The sample code consists of a small JSP tag library that you can reuse in your own applications as well as a dynamic Web form, which is generated with a piece of JavaScript code that can be executed on the Web server or in the Web browser.

This content is no longer being updated or maintained. The full article is provided "as is" in a PDF file. Given the rapid evolution of technology, some content, steps, or illustrations may have changed.



static.content.url=http://www.ibm.com/developerworks/js/artrating/
SITE_ID=1
Zone=Web development, Java development
ArticleID=392896
ArticleTitle=JavaScript EE, Part 3: Use Java scripting API with JSP
publish-date=06022009