hi i am ceating a web application that must open a picture and then draw on it. i have done it in desktop applications, but now want to use in a servlet. can i use the graphics2d library from within a servlet and how would u translate the following code,
try
{
MediaTracker tracker = new MediaTracker(this);
tracker.addImage(img, 0);
tracker.waitForID(0);
}
the img is a fle read from the hadrd drive. and the this referebce is the reference for a jframe class. how can i use the above code in a servlet. thanks.
try
{
MediaTracker tracker = new MediaTracker(this);
tracker.addImage(img, 0);
tracker.waitForID(0);
}
the img is a fle read from the hadrd drive. and the this referebce is the reference for a jframe class. how can i use the above code in a servlet. thanks.