Lisa D'Aniello

Ranch Hand
+ Follow
since Sep 25, 2003
Merit badge: grant badges
For More
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 Lisa D'Aniello

Hi All - (Sorry Sachin - I don't mean to hijack your question, but I didn't want to post the same exact issue in another thread).

I am having the same problem, and the solution below does not help. Nor does any other solution I can find... Here is my code - it happens after less than 100 record insertions.


Hopefully it is something simple that i just seem to be overlooking...
Thank you!

Goodness, what a silly oversight on my part...

Thanks Again!
18 years ago
Ok, this is so stinkin' basic, I'm embarrassed to even post the question, but...

long section1score = Long.valueOf(request.getParameter("score1")).longValue() + Long.valueOf(request.getParameter("score2")).longValue();

double section1perct = (section1score/40)*100;

...Why on earth does this evaluate to zero??? section1score holds a value of 20.

Thanks!
Lisa
18 years ago
Hi Barry,
Thanks for the code bit - i really appreciate it. I should not have to code for each locale of visitor I expect to see, since this should be as simple as getting the default date. I suppose that what I need to know is how to configure the JVM properly.

I appreciate everyones help - and if i ever figure out how to get it going, i'll post it back here for everyone else to use.

Originally posted by Barry Higgins:
I've run your code from Ireland and was surprised to find my default SHORT was set to M/d/yy.
After looking this up it appears the Locale has to be explicitly set. I thought the JVM might have some way of picking this up at start-up.

Anyway you can avoid all of this unpleasantness by specifying the Locale when you get your DataInstance.

19 years ago
Thank you so very much! For a minute there i was afraid that I had the entire concept of date formats wrong!
19 years ago
I'm not sure. How do i find out?
19 years ago
Hi there,

i have the following code, that works great in the US. I was hoping that it would also work great in the UK, but...
It returns US format in the UK. Any ideas as to why?

Thanks for any help you can offer,
Lisa
19 years ago
That's a hoot! No - I couldn't beat it
19 years ago
Hi Surya,

I think you are missing a couple of steps, and maybe have a couple backwards (or maybe you didn't post all of your code???). I cannot see where you are defining your blob locator, nor the information that you plan on sending.

If you could post all of your code that pertains to the blob, I bet we could get you up and running in no time!
Hi,

I'm not sure if this is the best advice, but if it suits your needs, you can pass them when you call the servlet - just as you would if you were sending them in the url of a jsp page
19 years ago
Hi John,

Dreamweaver is my favorite for laying out the physical appearance of my page.

It is my least favorite for just about anything else.
Hi Carl,

Holy while loops! To cut down on the loops, you could use 2 loops instead of 5.

You will need 2 temporary variables, 2 counters. Here is the example from my textbook that helped me a lot when I was first learning C++ (slightly modified to fit java syntax)

19 years ago
To get around this, I generally put some kind of bouncing text or image in a frame at the top of the page.

While the page is loading, It displays my bouncing Please Wait.... and then once the page loads, the Please Wait... is replaced with my page title.
There is a huge selection out there, but it might take a while to find some good ones: http://www.google.com/search?hl=en&ie=UTF-8&q=free+icons
For curiosities sake, are you by chance working from an NT server?
19 years ago
JSP