rutuja patil

+ Follow
since Dec 17, 2009
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by rutuja patil

google search for behavioural questions. prepare for those type of questions.
...don't worry... god is there to take care... best luck....
9 years ago
Jim, what if they don't know the exact weight... then will they need two weighings?
and you said-"Thus, the remaining seven coins must be counterfeit", no, they might be counterfeit, they might contain some genuine coins, you can not say'must' without weighing remaining seven coins...
Congrates Jogi! I am also planning to go for spring certification. did you refer only spring in action2 book? should we use document related to spring 3.0 or spring 2.5? does exam depend on the current release of Spring?

I found the solution. I added the following two lines in servelet and it worked:
response.setHeader("Pragma", "public");
response.setHeader("Cache-Control", "max-age=0");

9 years ago
Thanks for your reply. one more question- which type will be better choice for currency?
I looked at the View Source in the browser. The value of that element is already converted to the wrong format and it is 3.0E-4.
I am sorry Bear Bibeault,I didn't understand the question I got it what you tried to ask.
following is the original code of JSP:

output: $0.0003

In above code price is field(double type) of promo object. I use Spring framework for my application.

after reading your message I modified the code to display the original value of object

output: 3.0E-4

After modification it was showing 3.0E-4.
Please let me know if you need any more details.
on jsp page there is price var with 0.0003 value

and on javascript I am accessing that variable using the following code:

output: alert(3E-4)
javascript converts pr.value to 3E-4.
but I want the string value 0.0003 .
Is there any way to convert double to string in javascript?

I am sorry, but I don't know how to verify the stream. can you please tell me how to verify? i just tried to explain what i did to figure out the problem...
9 years ago