you can approximate this by creating a structure that mimics an associative
array.
use a HashMap to define key/value pairs.
keys can be an arbitrary object type, such as string
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Manish Keswani
Sent: Friday, April 28, 2000 12:34 AM
To: [EMAIL PROTECTED]
Subject: using a concatinated string as a variable
Hi All,
Facing a trivial problem. I need to use a string value as a variable
name. It is possible in VBScript and javascript, but dosen't seem to
work in java.
I'd be glad if someone could help me out here.
Regards,
Manish
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets