java help

hi

I have one question.

how create array of calendar.and get and set this array in some bean.Array which return Calendar.

[140 byte] By [sakisMuta] at [2007-11-27 11:32:40]
# 1

Second try, still not much more sense.

http://java.sun.com/docs/books/tutorial/java/nutsandbolts/arrays.html

Why the heck would anyone want multiple calendars anyway?

CeciNEstPasUnProgrammeura at 2007-7-29 16:46:47 > top of Java-index,Java Essentials,Java Programming...
# 2

i have code .This is in jsp.

for(int i=0;i<combVector.size();i++){

%>

<tr>

<td class="tekst" align="left" colspan="9">

<selectname="dDay" >

<%for(int j=0;j<31;j++){%>

<option name="dayZastr"value="<%=j%>"><%=j%></option>

<%}%>

</select></td>

</tr>

the first value of this field must have value=current day.then i want to change this value and set it.but i dont know how

sakisMuta at 2007-7-29 16:46:48 > top of Java-index,Java Essentials,Java Programming...
# 3

> i have code .This is in jsp.

This is already wrong to start with. Avoid scriptlets, use custom tags.

> the first value of this field must have value=current

> day.then i want to change this value and set it.but i

> dont know how

So what does that have to do with "passing an array of whatever that returns a Calendar" (arrays can't return anything)? So far I don't see the need for either arrays nor calendars.

CeciNEstPasUnProgrammeura at 2007-7-29 16:46:48 > top of Java-index,Java Essentials,Java Programming...
# 4

> hi

> I have one question.

> how create array of calendar.and get and set this

> array in some bean.Array which return Calendar.

U can get a instance of calendar by

Calendar calendar = Calendar.getInstance();

Why cant u instantiate Class Calendar - Google

New_Kida at 2007-7-29 16:46:48 > top of Java-index,Java Essentials,Java Programming...
# 5

I want in one array save all values of this field.when j =1 (from for loop) i have one value for day,when j=2 i have two values

sakisMuta at 2007-7-29 16:46:48 > top of Java-index,Java Essentials,Java Programming...