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.
hi
I have one question.
how create array of calendar.and get and set this array in some bean.Array which return Calendar.
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?
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
> 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.
> 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
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