Building a menubar question
From: Todd Prickett (QPCSDPTNTIYG_at_spammotel.com)
Date: 12/19/03
- Next message: Vincent Cate: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Previous message: Charles Fineman: "Re: waiting message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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!
- Next message: Vincent Cate: "Re: Target VM Microsoft? or Java Lint to check for MS VM compatibility?"
- Previous message: Charles Fineman: "Re: waiting message"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|