This is a servlet I use for my own. You can easily modify it to read the binary date from your database. Important part is the contenttype you send out. It should be image/jpeg or image/gif.
Extract:
import javax.servlet.http.*;
import javax.servlet.*;
import com.hd.common.web.servlet.*...
Only a single instance of a servlet gets created, with each user request resulting in a new thread that is handed off to doGet or doPost as appropriate.
When the servlet is first created, its init method is invoked, so that is where you put one-time setup code. After this, each user request...
Hi
How can a java applet remains in front of your screen but not stealing the focus when you are working with another program like Microsoft Word???
Why? I want to create a newsbox (ticker) which remains on top of every window, but never steals the focus.
Thank you very much!
Fabian
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.