swati cha

Ranch Hand
+ Follow
since Jul 04, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by swati cha

Hi all,

I want to shrink the size of the button can any one give me an idea
<a id="helpLinkID" class="linkButtonArrow">
<span class="buttonLeftArrowCap">   </span>
<span class="buttonMiddleArrow"> ${msgs.helpPB} </span>
<span class="buttonRightQuestionMark">  </span>
</a


Thanks in advance
16 years ago
JSF
thanku i got it fixed by passing in to an onject.
16 years ago
JSF
Hi all,

I want to take SCWCD 5 certification .Can anyone suggest book for the preparetion and mock tests links

Thanks in advance....
List<SelectItem> sList = (List<SelectItem>)getExpSessionObj().getExpTypeList();
Iterator<SelectItem> iter = (Iterator<SelectItem>)sList.iterator();
While( iter.hasNext();) {
object item = iter.next().;
log.debug("** item value:"+ item.getClass());
String value = item.getDescription();
// log.debug("** item value:"+ value.getClass());
if (value .equals(Constants.RENT)){
RentalExpense rentType = new RentalExpense();
rentType.setLandlord(new ContactInformation());
//getExpSessionObj().setCurrentExpenseType(rentType);
((List<AbstractExpense>)answer.getAnswer()).add(rentType);
}else{
Expense expense = new RentalExpense();
//getExpSessionObj().setCurrentExpenseType(expense);
((List<AbstractExpense>)answer.getAnswer()).add(expense);

}
16 years ago
JSF
HI all,

I gave scjp1.5 test in september ,how much time it takes to receive the certificate.any one reply me
can one solve this ?



<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>

<html:html>
<HEAD>

<%@ page
language="java"

contentType="text/html; charset=ISO-8859-1"

pageEncoding="ISO-8859-1"

%>


<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM WebSphere Studio">

<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet"
type="text/css">
<TITLE>ABC, Inc.Human Resources Portal -Employee Search</TITLE>

</HEAD>

<BODY>
<font size="+1">
ABC, Inc.Human Resources Portal -Employee Search
</font> <br>
<hr width="100%" noshade="true">
<html:errors/>
<html:form action="/search">

<TABLE border="1">

<TR>
<TD align="right"><bean:message key="label.search.Name" />:</TD>
<td><html:text property="Name"/></td>
</TR>
<tr>
<td></td>
<td>--or--</td>
</tr>
<tr>
<td align="right"><bean:message key="label.search.ssNum"/>:</td>
<td><html:text property="ssNum"/>(xxx-xx-xxxx)</td>
</tr>
<tr>
<td><html:submit></td>
</tr>

</TBODY>
</TABLE>

<logic resent name="searchForm" property="results">
<hr width="100%" size="1" noshade="true">
<bean:size id="size" name="searchForm" property="results"/>
<logic:equal name="size" value="0">
<center><font color="red"><b>No Employees Found</b></font></center>
</logic:equal>
<logic:greaterThan name="size" value="0">
<TABLE border="1">
<tr>
<th>Name</th>
<th>Social Security Number</th>
</tr>
<logic:iterate id="result" name ="searchForm" property="results">
<tr>
<td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>
</tr>
</logic:iterate>

</TABLE>
</logic:greaterthan>
</logic resent>

</BODY>
</html:form>
</html:html>
17 years ago
i am getting tag nesting in the following code can any one resolve it?
<html:html>
<HEAD>

<%@ page
language="java"

contentType="text/html; charset=ISO-8859-1"

pageEncoding="ISO-8859-1"

%>


<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<META name="GENERATOR" content="IBM WebSphere Studio">

<META http-equiv="Content-Style-Type" content="text/css">
<LINK href="theme/Master.css" rel="stylesheet"
type="text/css">
<TITLE>ABC, Inc.Human Resources Portal -Employee Search</TITLE>

</HEAD>

<BODY>
<font size="+1">
ABC, Inc.Human Resources Portal -Employee Search
</font> <br>
<hr width="100%" noshade="true">
<html:errors/>
<html:form action="/search">

<TABLE border="1">

<TR>
<TD align="right"><bean:message key="label.search.Name" />:</TD>
<td><html:text property="Name"/></td>
</TR>
<tr>
<td></td>
<td>--or--</td>
</tr>
<tr>
<td align="right"><bean:message key="label.search.ssNum"/>:</td>
<td><html:text property="ssNum"/>(xxx-xx-xxxx)</td>
</tr>
<tr>
<td><html:submit></td>
</tr>

</TBODY>
</TABLE>
</html:form>
<logic resent name="SearchForm" property="results">
<hr width="100%" size="1" noshade="true">
<bean:size id="size" name="SearchForm" property="results"/>
<logic:equal name="size" value="0">
<center><font color="red"><b>No Employees Found</b></font></center>
</logic:equal>
<logic:greaterThan name="size" value="0">
<TABLE border="1">
<tr>
<th>Name</th>
<th>Social Security Number</th>
</tr>
<logic:iterate id="result" name ="SearchForm" property="results">
<tr>
<td><bean:write name="result" property="name"/></td>
<td><bean:write name="result" property="ssNum"/></td>
</tr>
</logic:iterate>

</TABLE>
</logic:greaterThan>
</logic resent>
</BODY>
</html:html>
17 years ago
Hi,

I finished my SCJP1.5 and i want to preapre for SCWCD can any sugeest me which i have to follow and mock tests related ....

Thanks in advance...
Hi,

yesterday i cleared scjp1.5 with 70% ,Thanks to all java ranchers for your help for success of the exam.
17 years ago
import java.io.*;
class Food {Food(){System.out.println("1");}
}
class Fruit extends Food implements Serializable{
Fruit(){System.out.println("2");}
}
public class Banana extends Fruit{
int size=42;
public static void main(String a[]){
Banana b=new Banana();
b.serializeBanana(b);//assume correct serialization
b=b.deserialize(b);//assume correct
System.out.println("restore" + b.size + " ");
}
}

why the output is 121 restore 42?

can any one explain the above code,Thnaks in advance.........
can we overload the method declared as final?
Hi Dolly,

Thanks for your quick responses,can you give me the link for wizlabs i need those tests if you dont mind could just help me to pass the test .i am also new to java ,don't have experience.Do this favour for me..
iam solving the mock exam questions ,scoring 45-50% i have exam in 3 days am i able to pass the test please any one suggest me to improve and get through the test...
Thanks
Hi,

i am solving the mock exam questions ,scoring 45-50% i have exam in 3 days am i able to pass the test please any one suggest me to improve and get through the test...
Thanks