Latha Kota

Ranch Hand
+ Follow
since Mar 13, 2003
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Latha Kota

I think you didnt get my point. User select something from the drop down and then based on the selection some text fields get populated, rest of them the user fills and submits the form. Here, I need the cursor to change until the fields are populated.

Can you give me an example of how to use css to change the shape of cursor.

Thanks in advance,
LK.
Hi all,
I ran into a situation where I have to display a busy mouse symbol, till the page refreshes after selecting something from a drop down. After selecting from the drop down, behind the scenes thousands of sql statements execute, due to which it takes sometime for the page to refresh.

So, can anybody help me how to display a clock or some busy symbol on the jsp till the page regreshes sothat the user will know that he should wait till the page refreshes.

Thanks In Advance,
LK.
Thanks Kapil and Mat. I now understood it better.
Latha
SCJP 1.4
I have come across this question in HFSJ mock exam. It says that this statement is true. Can anybody explain me why?

If the servlet does not implement SingleThreadModel, the container will create no more than one instance per JVM.

Thanks,
Latha.
I have created my first session bean, and a client code to get the Home object. But when I am running I am getting an Exception saying:

java.lang.RuntimeException: ItenaryDelegate.getRemote caught Naming Exception.

I dont know what it is, so anyone can tell how to resolve it, it would be of great help. My client code is pasted below:

private ItenaryRemote getRemote() {
//Get ItenaryHome object from JNDI lookup
try {
if (this.itenary == null) {
ItenaryHome home = (ItenaryHome) EJBHomeFactory.getFactory().lookupRemoteHome(
"com.jbhunt.apps.driverplace.gui.scheduling.ItenaryRemote", ItenaryHome.class);
//Create Remote object from Home object and set the remote object to
//this class remote object
this.itenary = home.create();
}
}
catch (NamingException e) {
log.error("ItenaryDelegate.getRemote caught Naming Exception" + e);
throw new RuntimeException("ItenaryDelegate.getRemote caught Naming Exception",e);
}
catch (RemoteException e) {
log.error("ItenaryDelegate.getRemote caught RemoteException" + e);
throw new RuntimeException("ItenaryDelegate.getRemote caught RemoteException",e);
}
catch (CreateException e) {
log.error("ItenaryDelegate.getRemote caught CreateException" + e);
throw new RuntimeException("ItenaryDelegate.getRemote caught CreateException",e);
}
catch (Exception e) {
log.error("ItenaryDelegate.getRemote caught Exception" + e);
throw new RuntimeException("ItenaryDelegate.getRemote caught Exception",e);
}

return this.itenary;
}
Thanks,
Latha
Thanks bala,
This will definetely help.

Latha
SCJP 1.4
Can anybody suggest me a good book or an approach to prepare for SCWCD. I just passed SCJP but dont know much about j2ee. Also does anybody knows of any good website to learn basics of j2ee.
Thanks,
Latha
SCJP 1.4
That would be very helpfl Jessica. Can you also tell me on which topics should I concentrate more these last days.
Latha
I am giving exam in a week days. Cab anyone tell me any tips on which topics to concentrate on?
Latha
Hi Mohana Murali,
Can you email me the ppt at lkota@emich.edu please.
Latha
HI all, I came across this question in Whizlabs software.
StringBuffer s = new StringBuffer("abcd");
invoking length() of String class didnt give any errors i.e. s.length();
Does anybody know the reason. I thought that it cannot use the methods of String class.
Thanks in Advance,
Latha
HI all, I found this question from Whizlabs software, can anybody explain me the answer. I dont have a clear concept of shift operators.
System.out.println(-1>>>1);
The answer is 2147483647
Thanks in advance
Latha
Thank you very much Rich, I have a clearer idea of hashcode and equals method now.
Latha
Thanks Rich, but can you also give me an example of what you have explained.
Latha
Can anybody explain me what is meant by correct and incorrect implementation of hashcode(). Thanks in advance.
Latha

Modified title to be a little more specific.
[ April 10, 2004: Message edited by: Barry Gaunt ]