Previous Next Contents


Input Wizard

The input wizard allows you to create an HTML page with an input form, a servlet to process the input, and a Java Server Page (JSP) to display the results.

Related Topics

Specify Base Name and Location
Description
Decide what to label the file and in which directory to store it.

Properties
Field
Value
Example
Name
Input page title.
Input
Directory
Directory where you store the page.
C:\html\apps\HelloWld\

Related Topic

Input Type
Description
Specify how to process information entered by the user.

Properties
Field
Description
Handle Information with Custom Code
Netscape Application Builder creates a simple servlet and associated HTML/JSP pages.
Store Information to a Database Table
User input is stored in the fields of a database table.


Specify Input
Description
Specify the input parameters for your servlet.

Properties
Field
Value
Example
Name
Identifier for this parameter.
username
HTML Type
Type of parameter: Text, Password, Checkbox, TextArea.
Text
Default Value
Value that will appear in the field unless the user specifies another value.
Bill Smith
Validation
Type of input user must supply.
Alphabetic
Required
You can enable the checkbox to require user input for the parameter.

Insert Row
Insert additional parameters.

Delete Row
Remove the selected parameter.

Related Topics

Specify Data Model
Description
Specify the data model used to define your pages.

Properties
Field
Value
Example
Data Model
You can select a data model found in the current project from the pop-up list or click Browse to locate a data model found elsewhere.
MessageBoard.kdm
Create a new data model
Exit the wizard to create a new data model.

Related Topic

Specify Data Connection
Description
Select the data connection your application uses to access the database.

Properties
Specify which data connection to use by choosing one of the following:


New Database Connection
Description
Select the database to log into.

Field
Value
Example
Driver
Database driver type.
ODBC
Data Sources
Name of the data source.
ksample
Database Name
Name of the database to log into.
Employee Database
User name
User ID required by the data source.

Password
User password required by the data source.


Select Input Fields
Description
Specify the table where information is stored. In addition, specify what information the user is prompted for.

Properties
Field
Description
Tables
Database table where you will store user input.
Field
Information for which you prompt the user. For example, to prompt the user to input a user name, include an input field called "username."
Appears in Form
Select the checkbox if you want the field to appear on the generated input page.


Finish
Description
Click Finish to complete the input wizard and associated JavaServer Page (JSP). An HTML file is created with generated code that produces the page you designed.

 

© Copyright 1999 Netscape Communications Corp.