File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
JSP
Author
EL to Access Indexed Properties
Alec Lee
Ranch Hand
Joined: Jan 28, 2004
Posts: 568
posted
Oct 19, 2006 00:29:00
0
Is it possible to use EL to access indexed properties?
e.g.
package xxx; public class MonthSet{ private String[] months=...; public String getMonth(int index) { return months(index);} public void setMonth(int index, String value) {this.months(index)=value;} } <jsp:useBean id="monset" class="xxx.MonthSet"/> <c:out value="${monset.month[1]}"/>
Are these valid?
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: EL to Access Indexed Properties
Similar Threads
Indexed properties and Validation
Indexed Properties with List of Strings
Dynamic Textboxes.
how to do submit the Dynamic produced element in Struts
displaying data from arrays with html:text
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter