Hey, I am a new bie and  the title maybe not approriate.

My problem is :
     In a online-shopping site, we may have a tree of product categories, like:
                                                             root
                             book     |        electrical       |     
           digital   |      mobile
        novel   commputer life|                            |          
                   |
 so what is my jsp page be like?   It seems that we can get a category
tree first and
put it in the request. In the display jsp page, we use
<c: for each items="$(category.children)" var="category">
<a href="<c:url value="list.do" <c:param name="cid"
value="$(category.id)/></c:url>
</a>

First, is this approach right or is there more elegant ones ?
Secondly, does struts has any taglib that does this job better?
And lastly, is there any sample projects  that can me useful guidelines?

Wish you give me a hand!
--
Thanks for reading
comain chen

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to