Browse Prior Art Database

Technique to Eliminate Multiple Navigational Templates Across the Web Site Pages

IP.com Disclosure Number: IPCOM000028575D
Original Publication Date: 2004-May-21
Included in the Prior Art Database: 2004-May-21
Document File: 3 page(s) / 56K

Publishing Venue

IBM

Abstract

Most dynamic web projects use header, left navigation, and body design. Since the page is dynamic, left navigation will be written repeatedly even though the contents are only slightly different. This invention is to introduce a method that can eliminate repeatedly coding of left navigation and use only one source code for the entire project. This will greatly simplify the coding process, and allow the web page design better match the coding design. From the coding design point of view. the code can also be partitioned as 3 parts, such as header.jsp (1 file), leftnav.jsp (1 file) and body.jsp (many files).

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 56% of the total text.

Page 1 of 3

Technique to Eliminate Multiple Navigational Templates Across the Web Site Pages

The web page design usually contains three parts: header part, left navigation part and body part, as illustrated in the following example.

Since the page is dynamic, left navigation will be written repeatedly. Each page will have its own left navigation code. If a web project contains 30 pages, left navigation will be written 30 times, one for each on the 30 pages. This invention is to introduce a method that use only one source file (leftnav.jsp file) for the entire project so that all the dynamic pages can take advantage of the single source.

The advantages of using this technique are less development time, easier to maintain and easier to comply the GWA standards and guidelines.

The following is the source code for leftnav.jsp file: <%

int lev1 = 0; int lev2 = 0; String level1 = (String)request.getAttribute( "level1" ); String level2 = (String)request.getAttribute( "level2" ); Integer intlev1 = new Integer(level1); Integer intlev2 = new Integer(level2); lev1 = intlev1.intValue(); lev2 = intlev2.intValue();

String nav[][] = { { "Asset Management" }, {

1

[This page contains 1 picture or other non-text object]

Page 2 of 3

"Work with Assets" ,

     "My Assets" , "Assets for Which I am a Delegate" , "Assets on Surplus" , "Advanced Search" },
{ "Work with Transferred Assets" ,

     "Assets Transferred To/From Me" , "Assets for Which I am a Delegate" , "Asset Transfers I initiated" },
{ "Verify Ass...