Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Query on using taglib to create a Map

 
Dien Huynh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Is there any taglib that allows you to create a Map object in the JSP page?
I am developing a web application using Struts, and in order to pass multiple parameters in the request, I need to store all these paramaters and values in a Map object. The constraint is I can only use taglibs in the JSP page. Thank you.
Cheers,
Dien
 
Andres Gonzalez
Ranch Hand
Posts: 1561
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to javaranch Dien!
I don't know whether I got your question. are you looking for an existing tag library that does that?
can't you just create one yourself using the existing interfaces (Tag, IterationTag, BodyTag, etc.)??
 
Dien Huynh
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Andres,
Yes I am looking for existing taglib to use. My guess is there is some standard taglibs that has this functionality but I can't find it anywhere. I could write one but why not reuse if there is one.
Cheers,
Dien
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!