giribabu rosi

Greenhorn
+ Follow
since Apr 14, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by giribabu rosi

maha anna link please pass it to me
19 years ago
where can i find javaranch/mockexam

please post URL
[ June 02, 2005: Message edited by: Barry Gaunt ]
class A extends Thread {
public A(Runnable r) {super(r);
run();
}
public void run() {System.out.print("A");}
}

class B implements Runnable {
public B()
{
run();
}
public void run() {System.out.print("B");}

}

class Cero {
public static void main(String[] args) {
new A(new B()).start();
}
}// why it is printing BAA
// first call should go to super class only
[ May 27, 2005: Message edited by: giribabu rosi ]
class CheckNull
{
public static void main(String[] args)
{

String f1 = null;
String f2 = null;
if(f1.equals(f2))
{
System.out.println("Hello World!");
}
}
}// why it is giving error both are String only ??

2. (A[0]==null ) giving error
why (A== null) not giving error
[ May 27, 2005: Message edited by: giribabu rosi ]
when te object is eligible or Garbage collection

1.it is autmatically collected.

2.Why in questions they are asking how many objects are eligible for collection??
1.i am getting atleast 60% in Mock exams
shall i attend the Exams??


2.If any advance topic need to study

am not much thorugh in threads and some times in Garbage Collector
[ May 25, 2005: Message edited by: giribabu rosi ]


[ EJFH: Turned smilies off, added CODE tags ]
[ May 12, 2005: Message edited by: Ernest Friedman-Hill ]
19 years ago

//Edited to add CODE tags.
[ May 12, 2005: Message edited by: Joel McNary ]
19 years ago
no am using

<html:select multiple="true" property="badGuy">

an inserting values in create page

how do i show the inserted value in editpage.
[ May 09, 2005: Message edited by: giribabu rosi ]
19 years ago
please tell me how to use list box and

how to use List box in edit page??
19 years ago
<logic:iterate id="docListVector" name="Doc_List">

<html:select property="docList" MULTIPLE="true" name=docListVector >
<option value="NC2"> Account Opening Form</option>
<option value="AS00"> Address Proof</option>
<option value="AS11"> Photographs</option>
<option value="AS22"> Other</option>
</html:select>
</logic:iterate>

problem is when am using edit page?

i inserted 4 options in using create button.(create i inserted using array same way am using logic:iterate>,but 4 times displaying)
2.while in edit button when i click am not able get all selected values of List box and show to user.

is there any way???
19 years ago
i have same problem which i had see previous question of u
19 years ago
<logic:iterate id="employee" name="REC-CHECKLIST">
<logic:iterate id="customer" name="REC-CUSLIST">
<logic:iterate id="additional" name="REC-ADDLIST">
<tr>
<td width=2%><input type="text" size="2" value="1" name="txt"> </td>
<td width=10%><html:text property="cbCheckNo" name="employee" /></td>
<td width=10%><html:text property="cbDate0" name="employee" /></td>
<td width=10%><html:text property="cbBank" name="employee" /></td>
<td width=10%><html:text property="cbBranch"name="employee" /></td>
<td width=10%><html:text property="cbAmount" name="employee" /></td>
<td width=10%><html:text property="cbCreACNo" name="additional" /></td>
<td width=10%><html:text property="cbRetTo" name="additional" /></td>
<td width=10%><html:text property="cbRetChg" name="additional" /></td>
<td width=10%><html:text property="cbDebAC" name="additional" /></td>
<td width=10%><html:text property="cbCusName" name="customer" /></td>
</tr>
</logic:iterate>
</logic:iterate>
</logic:iterate>


I AM GETTING THREE ARRAY LIST BUT IT HAS TO DISPLAY 2 ROWS ONLY AM USING ONE FORM BEAN FOR THREE ARRAY LIST
THE FORM IS
--------------

public String cbCheckNo;
public String cbDate;
public String cbBank;
public String cbBranch;
public String cbAmount;
public String cbCreACNo;
public String cbCusName;
public String cbRetTo;
public String cbRetChg;
public String cbDebAC;
public String cbTotAmt;
public String cbTotNo;
public int ackCode;
public String date;
public int cusid;


MY AIM IS TO DISPLAY ALL IN ONE ROW???should use one query for all this form becouse i ahve three tables for this form>??
19 years ago