Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > how to display the values of a Map as links on a jsp page,in STRUTS...please help!

Reply
Thread Tools

how to display the values of a Map as links on a jsp page,in STRUTS...please help!

 
 
vyshu
Guest
Posts: n/a
 
      04-10-2007
hi,
I have previously posted a query fon iterating through a map and
diplaying the values in a html:select.and i got it!.but now the
requirement has changed a littile bit,and now i need something else!
let me explain my situation.
I have a Map "theMap", and i was retreving the values to a select
like
this
<html:select name="usersession" property="theMap" >
<htmlption value="">-- Select --</htmlption>
<htmlptions collection="myMap" property="value"
labelProperty="value"/>
</html:select>

but now instead of displaying the values as options,i want to display
it as LINKS.
On the click of this link i want want to pass the key...


any help will be great!.


thanks,
vysh

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
JSP and Javascripts on same page (Passing values to JSP fromJavascript) Husain Javascript 3 04-14-2008 10:36 AM
getting values in a map - map wrapper class Angus C++ 12 10-02-2007 08:25 AM
how to display the values from a Map as links on a jsp page,in STRUTS...please see vyshu Java 0 04-10-2007 10:53 AM
[JSP] difference between jsp:forward and jsp:include alexjaquet@gmail.com Java 0 06-02-2006 01:21 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57