Develop JSP files with WebSphere extensions

Several IBM WebSphere extensions are provided for enhancing your JSP files. This task provides a summary of the extensions that you can utilize.

  1. Review the supported specifications.

    Create Java components, referring to the JSP specifications from Sun Microsystems.

    See Resources for learning for links to coding specifications and examples.

    WebSphere Application Server Version 3.5 added IBM extensions to the base Application Programming Interfaces (APIs). Since the JSP 1.1 and JSP 1.2 Specifications are backward compatible to the JSP 1.0 Specifications, you can invoke the APIs with the IBM extensions without modification.

    The extensions belong to these categories:

    Syntax for variable data Put variable fields in JSP files and have servlets and beans dynamically replace the variables with values from a database when the JSP output is returned to the browser.

    Syntax for database access Add a database connection to a Web page and then use that connection to query or update the database. You can provide the user ID and password for the database connection at request time, or you can hard code the user ID and password within the JSP file.

  2. Use your favorite integrated development environment (IDE), or a text editor, to develop or migrate code artifacts that meet the specifications.

  3. Test the code artifacts.

  4. (Optional) Batch compile your JSP files if necessary.

 

See Also

JSP files
Tag libraries
tsx:dbconnect tag JSP syntax
dbquery tag JSP syntax
dbmodify tag JSP syntax
tsx:getProperty tag JSP syntax and examples
tsx:userid and tsx:passwd tag JSP syntax
tsx:repeat tag JSP syntax
Example: Combining tsx:repeat and tsx:getProperty JSP tags
Example: tsx:dbmodify tag syntax
Use tsx:repeat JSP tag to iterate over a results set
JspBatchCompiler tool
Webapplications: Resources for learning