[thelist] Java, XML and JSP. (LONG)

David Appleton david.appleton at barnardos.org.uk
Fri Oct 18 05:33:01 CDT 2002


Dave.

For simplicity I currently have only one XML file which controls all navigation throughout the site (that is until you get to local navigation).  But then this is only my first attempt.

On the left hand side of each page, there is a simple global navigation which remains static throughout.  On the right hand side is where the Section and local Navigation is found.  This will be different for every page and looks something like below (assuming that it goes through e-mail ok).

+++++++++++++++++++
+ Primary Section Title
+++++++++++++++++++
+ Section A
+ Section B
+   Sub-section1
+   Sub-section2
+     Local Nav1
+     Local Nav2
+   Sub-Section 3
+ Section C
+++++++++++++++++++

Everything on here is dynamic, apart for the 'Local Nav' links - these are created by hand and only refer to pages held within the area 'Sub-section2'.  In essence this will allow us to create self-contained sections which are made by hand and link to pages only within that section.  These sections become modular and very portable when they are added to the XML file as they can be plugged in to the site where ever we like so we no longer have to concern ourselves with the surrounding section navigation.

I suppose this idea lets XML enforce a site structure and deals with all cross sectional links.  Internal section links are made by hand and the JSP will insert them into the navigation table at the appropriate position.

Maybe in the future there will be a need to split my XML file in to section fragments, but right now, it's small enough to work as a single file.

Anyway - Have a good weekend.
Dave.

>>> David.Cantrell at Gunter.AF.mil 17 October 2002 19:44:40 >>>
One question is, do you maintain only one central XML file for every section (aka sub-site), and does the XML file model only global navigation between sections, or does it also model navigation within those sections?




______________________________________________________________________

Important Notice
This communication contains information, which is confidential.
It is intended solely for the use of the intended recipient/s.
If you are not the intended recipient/s please note that any distribution,
copying or use of this communication or the information in it is strictly
prohibited.  If you receive this communication in error please notify
postmaster at barnardos.org.uk and then delete this e-mail and any copies of it.
Please note that this communication and any communication received by or on
behalf of Barnardo's or from or on behalf of anyone else from this e-mail
address may be monitored by our e-mail or other monitoring software, or
inspected by us.  This communication is from Barnardo's, a company limited
by guarantee, registered office: Tanners Lane, Barkingside, Ilford, Essex,
IG6 1QG, reg. no. 61625 England, charity reg. no. 216250.
    ______________________________________________________________

To find out more about Barnardo's or to make a donation visit our web site
at http://www.barnardos.org.uk.
______________________________________________________________________




More information about the thelist mailing list