This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!

Bear Bibeault

Marshal
+ Follow
since Jan 10, 2002
Bear likes ...
IntelliJ IDE Java jQuery Mac Mac OS X
Author of:
Secrets of the JavaScript Ninja, 1st and 2nd editions,
jQuery in Action, 1st, 2nd and 3rd editions,
Ajax in Practice, and
Prototype and Scriptaculous in Action
Austin, TX
Cows and Likes
Cows
Total received
170
In last 30 days
0
Total given
186
Likes
Total received
4488
Received in last 30 days
3
Total given
2888
Given in last 30 days
5
Forums and Threads
Scavenger Hunt
expand Rancher Scavenger Hunt
expand Ranch Hand Scavenger Hunt Green check
expand Greenhorn Scavenger Hunt Green check

Recent posts by Bear Bibeault

Changing the expected behavior of keys, like making backspace do something different than it usually does, is rarely delightful for users.
Submit the form to a servlet (our whatever server-side mechanism you are using) which can use the mail API to send the text as an email message. In Java, that would be the Java Mail API.
Thank you! I love to hear stories like this. 🐻
1 week ago
Most of my Java projects have had thousands of classes. It needs more than two levels to keep that organized.
1 week ago
Welcome to the Ranch.

In future posts please be sure to UseCodeTags when posting code. I have added them to the above post for you.

Nowhere in your code do you show us where an element with the id loading is created.
I'll also throw up a seriously red flag that you are sending a resultset to a JSP.
1 month ago
JSP
Why are you using scriptlets versus the JSTL/EL?
1 month ago
JSP
What problem are you actually trying to solve?
1 month ago
If you want them on top of each other, you don't need CSS at all. Just use divs -- that's their default behavior.

And be consistent: div not DIV.
A base64 image is a protocol that allows the image data ( encoded as a base64 string) to be directly placed within the html as the image source rather than as a separate file.

I do not know if there is a way to use such an image as a background image.

If not, I’d use css to absolutely position the image behind anything that should overlay it.
By the way, useBean is pretty archaic. Why are you not using the JSTL and EL?
1 month ago
JSP
If I recall correctly, useBean with class will attempt to create the bean if it already doesn't exist. This precludes the possibility of polymorphism. What I believe you want is type which just acts likes a cast. So why do you think it is not working?
1 month ago
JSP