Introduction

Team-Fly    

Macromedia® DreamWeaver® MX Unleashed
By Matthew Pizzi, Zak Ruvalcaba
Table of Contents
Chapter 23.  JSP


JSP stands for Java Server Pages. It's a powerful, full-featured scripting language that enables you to use Java functions in a Web browser environment.

Combined, Java and the Web browser make a powerful team. Because Java is open source and largely platform independent, it's easy to extend it the community is always adding more features to its core feature set. On the other side of the equation, the Web browser is a ubiquitous interface for rendering content that is globally available. You could say that it's a marriage of two strong feature sets: Java functionality and the native interface capabilities of the Web browser.

Technically speaking, JSP can be combined with HTML code inside HTML files. Anytime a user requests a JSP page, the JSP code is processed by a servlet. This servlet can hand more complex tasks off to one or more JavaBeans that communicate with data sources, or it may handle the connection by itself.

Because Java is such a powerful and expressive language, JSP was designed with the beginner in mind. Although advanced Java developers can use the full feature set of the Java language, beginners can use JSP actions to accomplish a lot of functionality with basic commands.

Dreamweaver MX includes support for a Tag Chooser, which makes it even easier to use these JSP actions and other tags. The Tag Chooser is a tool that enables you to easily add tags from different scripting languages. This chapter introduces you to using the Tag Chooser to insert JSP tags into your documents. After that, you'll learn about hand coding your own JSP tags, JavaBeans, servlets, and debugging your code.


    Team-Fly    
    Top


    Macromedia Dreamweaver MX Unleashed
    Macromedia Dreamweaver MX 2004 Unleashed
    ISBN: 0672326310
    EAN: 2147483647
    Year: 2002
    Pages: 321

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net