A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
JavaRanch
»
Java Forums
»
Java
»
JSP
Author
modify this code in to Jsp
Niharika Sweety
Greenhorn
Joined: Feb 11, 2012
Posts: 6
posted
Feb 11, 2012 03:23:05
0
HI,
I want put this code int my Jsp page to dispaly the values(Id,Locations) .. please help me out... friends..
<% HashMap map = applicationBean.getRacfLoc(); Set set = map.entrySet() Iterator it = set.iterator() while (it.hasNext()) { Map.Entry me = (Map.Entry) it.next(); System.out.print("-->ID:"me.getKey() ); System.out.println("-->Locations"me.getValue()); } %>
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56157
13
I like...
posted
Feb 11, 2012 11:12:58
1
This looks like the same question you already posted. Please do not post the same question more than once.
[
Smart Questions
] [
JSP FAQ
] [
Books by Bear
] [
Bear's FrontMan
] [
About Bear
]
I agree. Here's the link:
http://zeroturnaround.com/jrebel
subject: modify this code in to Jsp
Similar Threads
Compiler error in case of advanced for-each loop of Map.Entry
HashMap problem
ch1 q8 david book doubt
How can I improve this piece of code?
code to retrieve result from databse which are selected in the list box
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter