Stuff
OS/400 Edition
Volume 1, Number 20 -- November 7, 2002

Use WebSphere Studio for Building Web Pages


by Shannon O'Donnell

If you have not yet installed the latest version of IBM's WebSphere Studio Developer Client tools, it's time to do so! There are many new development tools buried in the overall WebSphere Studio Site Developer Advanced IDE. In fact, you could probably spend a month simply discovering all the functionality. One of the cool things available to you with WebSphere Studio Developer Client is a pretty sophisticated WYSIWYG HTML editor.

display

Getting There

Assuming that you've installed the WebSphere Studio Developer Client tools on your PC, the first thing you need to do is to create a new AS/400 connection, known here as an AS/400 project. The AS/400 project you create here will allow you to establish the path to your AS/400 and the default library list you want to use (among other things).

Create a new AS/400 project as follows:

  1. Click File, New, then Project, from the WebSphere Studio Developer Client IDE.
  2. Click iSeries and then iSeries Project (on the right) in the displayed panel.
  3. Now you need to pick a name for your iSeries connection. In this example I named my connection MyOwnAS400. You'll probably want to choose a more generic name for your own project. When you're done, click the Next button.
  4. After you've chosen a name, you'll need to specify the New Connection (Figure 1). From this panel, you will enter your AS/400's IP address or host table name, and a name for the connection. Since you'll probably be using this connection information for multiple projects, use an easy to remember, generic name. When you're done, click the Next button.
  5. The last step to creating a new AS/400 Project is to select the default library you want to use for this connection. When you're done, click the Finish button.
Figure 1

Figure 1: Create a default connection before you get started

Creating a New HTML Web Page

Now that the housekeeping is out of the way, let's create a static HTML Web page.

Figure 2

Figure 2: Creating a new HTML Web page is easy

Here are the steps you need to take.

  1. Click File, then Other, from the WebSphere Studio Developer Client IDE.
  2. Click the WEB tree item, on the left hand side of the screen, and HTML file, on the right-hand side of the screen (Figure 2).
  3. Click the Next button.
  4. Give the new HTML file a name, then click the Finish button.

You can now begin editing the HTML file (Figure 3).

Figure 3

Figure 3: WebSphere Studio gives you a lot of editing choices

Things You Can Do

Here, briefly, are some of the things you can use the WebSphere Studio Developer Client HTML editor for:

  • Displaying content in a default browser. As with any WYSIWYG editor, all changes are immediately visible and displayed pretty much the way they'll look in any Web browser. However, if you want to see what your Web page looks like in your default Web browser, click the menu item Tools, then click the submenu item Web browser, and, finally, select your browser. The HTML file currently being edited will be displayed in the browser.
  • Special image effects. You can achieve some pretty cool imaging effects with the WebSphere Studio Developer Client HTML editor, like creating a checkerboard image (Figure 4) from your own images, which you can then use as a fairly sophisticated HTML image map by using rollovers and events. You can also insert image slide shows (build the slide show as you go along), and there's even an Image Insertion Wizard, which allows you to select any image and add special effects to it, such as borders and even a floating fish!
  • Logo creator. Also buried in the HTML editor is a pretty cool logo creator. To use it, click Insert, then Logo, and enter the text you want turned into a logo. There are many different logo styles, backgrounds, colors, text, and font enhancements, as well as lots of other cool features.
  • Form builder. Of course you can create standard and advanced HTML forms, too, including adding push buttons, text fields, radio buttons, and the like. If you are still not sure about how to build forms for your HTML pages, this is a good place to start.
  • JavaServer Pages. Included with the WYSIWYG editor is complete support for JavaServer Pages, including the ability to insert your own Java Beans, JSP Expressions, JSP Scriptlets, and pretty much any other type of JSP function available.
  • Miscellaneous insertion features. Other items you can insert into your HTML Web page from the WebSphere Studio Developer Client HTML editor include Java applets, ActiveX Controls, plug-ins, marquees, and much more.
Figure 4

Figure 4: Insert the items you need into your new Web page

Explore

The WYSIWYG HTML editor with WebSphere Development Studio Client has many features and easily rivals Microsoft's FrontPage editor. And since the WebSphere Studio Developer Client is available for free from IBM (with a Software Subscription, of course!), there's really no reason why you shouldn't begin using it for all your HTML editing needs. Take some time and explore the tool, and see what's available to you.


Sponsored By
WORKSRIGHT SOFTWARE

CASS Certification
What is it? Why do you need it?

CASS stands for "Coding Accuracy Support System." This is a test developed by the U.S. Postal Service to determine whether ZIP Code software can accurately assign ZIP Codes to mailing addresses. CASS-certified software is intended to improve the accuracy of carrier route, 5-digit ZIP, ZIP+4, and delivery point codes.

CASS certified means the software has passed the test. When you use CASS software to update and maintain your mailing file, then your mailing file becomes CASS certified. What does this mean to you?

CASS certification is the first step in qualifying for postage discounts. Look at the mail you receive at home and at work; you will see that a lot of it was mailed for less than the regular 37 cent rate.

Despite all the glitz and glamour of the Internet, email, and such, the wheels of America's economy are lubricated by the ordinary envelope and the U.S. Postal Service.

If your company sends out a lot of mail, there is a good chance CASS certification can cut your postage expense. There are other steps you must perform to get these discounts, but CASS is the first step.

Your mail must be printed, sorted, and then packaged according to postal regulations. It takes some effort, but the potential savings make it worthwhile.

Exactly what happens when you process your mailing files with CASS software? The software breaks the address down into its individual elements: state, city, street name, and so forth. Then the information is compared to the national ZIP+4 database. If a match is found, the ZIP Code, ZIP+4, delivery point, and carrier route are assigned. Also the delivery line is standardized to comply with Postal Service preferences.

If an address can't be matched, no action is taken. This has the positive effect of allowing you to identify addresses in your mailing files which possibly can't be delivered, will be delayed in delivery, or at the very minimum need some minor correction to one of the address elements.

Using CASS certified software has many side benefits. You will be able to identify addresses that are potentially undeliverable. It has been estimated that as much as 30% of all advertising mail is never delivered.

That means the costs of postage, printing, paper, and overhead for undelivered mail are wasted. That means if you spend $100,000 on a direct mail campaign, as much as $30,000 could be completely wasted.

CASS software provides a number of intangible benefits. With CASS certification and bar coding there is a good likelihood that that your mail will be delivered sooner. If your invoices are delivered one day sooner, you may receive payment one day sooner.

If you CASS certify your mailing file, you can move on to the next step which is postal automation. This means applying a POSTNET bar code.

POSTNET is that little row of tall and short bars you see on your mail. POSTNET is a special bar code used by the Postal Service to allow automatic sorting machines to work.

It has been reported that bar code standard class (the old third class) mail gets delivered about as soon as first class, instead of the usual 2 or 3 weeks.

The bottom line is that using CASS software will help you keep your customers' address information in much better shape than they would be otherwise. Your mail may be delivered sooner at less cost and that means more bottom-line dollars for your company.

If you would like more information about CASS and CASS software,
contact your local post office or
call WorksRight Software, Inc. at 601-856-8337.

Are FedEx, United Parcel, and Airborne charges
for incorrect addresses eating into your budget?

Every bad address can result in a $5 to $10 charge. Even seemingly small addressing errors such as misspelled street names, or missing suite numbers can result in the same penalty as if the address were totally wrong.

Our PER/ZIP4 addressing matching software will match your addresses to the national ZIP+4 postal database. Based on the match PER/ZIP4, will update your addresses to postal standards. Our sophisticated address logic can add missing directionals, correct minor misspellings, and standardize the address format. If PER/ZIP4 can't match the address, then you know that there is likely a serious error in the address that needs to be corrected.

PER/ZIP4 can be used in a batch mode to update an entire file or interactively to update individual address one at a time. We provide a search function so that you can search the national ZIP+4 database to verify a specific address.

Visit our Web site www.worksright.com for more information and to order a free, no-hassle, 30-day trial. Or call WorksRight Software, Inc. at 601-856-8337.


THIS ISSUE
SPONSORED BY:

T.L. Ashford
ASNA
Jacada
Aldon Computer Group
Profound Logic Software
WorksRight Software


BACK ISSUES

TABLE OF
CONTENTS
Display Operations Navigator from a 5250 Green Screen

Add Oomph to Your Commands with Validity Checking Programs

Pack on the Calories with ListView Pudding

Batch Jobs Can Talk Back

Database Triggers: Add Consistency and Integrity to Business Logic

Use WebSphere Studio for Building Web Pages


Editors
Shannon O'Donnell
Kevin Vandever

Managing Editor
Shannon Pastore

Contributing Editors:
Howard Arner
Joe Hertvik
Ted Holt
David Morris
Richard Shaler

Publisher and
Advertising Director:

Jenny Thomas

Advertising Sales Representative
Kim Reed

Contact the Editors
Do you have a gripe, inside dope or an opinion?
Email the editors:
editors@itjungle.com



Last Updated: 11/7/02
Copyright © 1996-2008 Guild Companies, Inc. All Rights Reserved.