Win a copy of Microservices Testing (Live Project) this week in the Spring forum!

Prathiba Kalirengan

Greenhorn
+ Follow
since Aug 30, 2004
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 Prathiba Kalirengan

I agree with u.I think it holds true for strings too
16 years ago
In case of "false false true" ,the implementation of hashCode method is inappropriate.In the question they mention that the equals and hashcode methods are overridden appropriately.
16 years ago
"It is generally necessary to override the hashCode method whenever equals method is overridden, so as to maintain the general contract for the hashCode method, which states that equal objects must have equal hash codes "

If the equals () method and hashcode methods are overridden according to the ideal definition, the correct answers will be

1.true true true
2.false false false
3.false true true--(c)

But a." false false true " is possible though it is not correct.But other options is impossible.

[ December 12, 2005: Message edited by: Prathiba Kalirengan ]
[ December 12, 2005: Message edited by: Prathiba Kalirengan ]
16 years ago
HTTP 1.0 does not cache pages that use cookies created with this class.so change the version of HTTP
In the pop up window code write

window.opener.document.form1.text1.value = urvalue

This will automatically populate the parent window's text box
Flagging the cookie->Create a flag cookie and parse the cookie to get the flag value
Problem is with expiry time..Try to have a flag in the cookie and use that to determine to invoke the pop-up or not.Just a suggestion.
Gr8 Job Mahesh....
17 years ago
Compile your servlet files to put the classes with the correct package structure in the path where the server has the class files.
javac -d <directory where the server stores its servlet classes> <source files>
just refresh the servlet...
I hope this is what you have asked for...
17 years ago
For using JSP beans u need to have a constructor with no arguments..
Is this the problem?
17 years ago
JSP
U have one more option...
inside setXXX methods check for null ...if it is true set to ""
so the " " will be automatically assigned if the value is null..
U can have data validators also inside..
17 years ago
JSP
check out whether the classes are present in the correct package structure inside the jar..and give the correct path with package information in the descriptors
17 years ago