Home > Domino Tips > Chapter Downloads > Chapter 21: Writing Java servlets and JavaServer Pages
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

CHAPTER DOWNLOADS

Chapter 21: Writing Java servlets and JavaServer Pages


SAMS Publishing
10.13.2004
Rating: --- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


One of the most exciting and dynamic areas of growth in Java is the use of a Web server as an application development platform. The Java language has moved beyond applications that run on your computer and applets that run on a World Wide Web page.

Servlets, Web applications run by a server over the Internet and presented by a Web browser, employ Java without the prohibitive security restrictions in place for applets. A servlet can use all the features of the language. Using servlets, you can collect input from users through Web page forms, present records from a database or another source, and create Web pages dynamically. This approach can be enhanced by JavaServer Pages (JSP), a way to create Web pages that mix static HTML with the output of servlets and Java expressions.

JavaServer Pages enable nonprogrammers to work on Web sites developed with Java.

In this chapter from the book SAMS Teach Yourself Java 2 in 21 Days, by Rogers Cadenhead and Laura Lemay, you'll learn about the following topics:

  • How servlets differ from applications and applets
  • How to run servlets as part of the Apache Web server and other servers
  • How to receive data from a Web page form
  • How to store and retrieve cookies
  • How to use servlets to dynamically generate Web content
  • How to create a JavaServer Page
  • How to use Java variables, expressions, and statements on a page

    Click here to download this free book chapter.

    Rate this Tip
    To rate tips, you must be a member of SearchDomino.com.
    Register now to start rating these tips. Log in if you are already a member.




    Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



    RELATED CONTENT
    Chapter Downloads
    Chapter 17: Resolving Server Problems
    Chapter 15: Managing Users and Groups
    Chapter 14: Managing Servers
    Anti-Spam Tool Kit book excerpt: Fighting spam defensively
    Chapter 22: JavaScript security
    Chapter 6: Crawling the Web with Java
    Chapter 5: Blocking spammers with DNS blacklists
    Chapter 3: Program control statements
    Chapter 18: JavaScript and embedded objects
    Chapter 13: Eavesdropping techniques

    Java for Lotus Notes Domino
    Top 10 Lotus Notes/Domino coding and development tips of 2008
    Java code inserts data from Notes documents into a SQL table
    Java code shortens strings in a SQL table
    How to execute a stored procedure in Lotus Notes Domino using Java
    Top 10 Lotus Notes Domino programming and development tips of 2007
    How to return an HTML representation of a Lotus Notes rich-text field
    Shrink Lotus Notes databases with many attachments
    Converting Lotus Notes Domino Web pages to PDF files with a Java agent
    Developing Eclipse plug-ins for Lotus Notes and Domino -- 7 tips in 7 minutes
    A bevy of Notes/Domino development tips

    Web Development for Lotus Notes Domino
    Trap JavaScript runtime errors in Domino Web apps
    Write HTML and JavaScript in Notes view rows and columns on the Web
    JavaScript detects Web browser type and version in Notes/Domino 8.0.2
    Top 10 Lotus Notes/Domino coding and development tips of 2008
    Top 10 issues when developing Lotus Notes Domino Internet applications
    Top 10 Lotus Notes Domino programming and development tips of 2007
    Programmatically copy and hide attachments in Lotus Notes rich-text fields
    Programmatically edit a rich-text field table from within the Lotus Notes client
    Troubleshooting Lotus Notes Domino tabbed table problems
    How to validate Lotus Notes forms on a Domino server without losing entered data

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary

    DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



  • Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
    HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Site Map




    All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts