Building a menubar question

From: Todd Prickett (QPCSDPTNTIYG_at_spammotel.com)
Date: 12/19/03


Date: 19 Dec 2003 06:07:24 -0800

Hi,
I'm a newbie with two questions, one conceptual and one technical,
about building a menubar for a struts/taglib/tiles based website.

The conceptual question is... I want to include a menubar in each of
my pages. To me, this seems like it should be a tile. However,
beyond that, I'm not sure what the best way to do this would be. My
initial thought was to create a class that reads an XML config file,
then build the HTML in my class. That HTML would then be rendered in
the resultant JSP. How would you experts handle this? I realize
there is a scripting component to taglibs, but don't think that adding
pages of taglib scripts to my JSP is the answer (is it?).

The technical question is... I stumbled across the HTML specific XML
libraries (i.e. org.w3c.dom.html). Is this a favored way of
constructing HTML within code or is there a better way? A
google/google-groups search returns VERY few results for classes
within that lib, which makes me suspect its not in vogue to use it.
If it is in vogue, can anyone provide a link to how to use them?
Javadocs on Sun's site show their syntax, but not really how to use
them.

Thanks, I look forward to hearing your opinions!



Relevant Pages

  • Conceptual question...
    ... about building a menubar for a struts/taglib/tiles based website. ... The conceptual question is... ... then build the HTML in my class. ... which makes me suspect its not in vogue to use it. ...
    (comp.lang.java.programmer)
  • Re: Interactive Button Runtime Error
    ... I am not sure what the problem is but if you are using the include feature ... Since your pages are .asp you can manually put include files into the HTML ... the Replace command to find the exact spot where you want the footer to ... menubar using a table and inserted interactive buttons into each cell. ...
    (microsoft.public.frontpage.client)
  • Re: Naming a hyperlink
    ... If in Rich Text or HTML, highlight the word "google", then using the ...
    (microsoft.public.windows.inetexplorer.ie6_outlookexpress)