Hi all. I am facing a pretty peculiar problem. I am building a dynamic web application, which is supposed to display a particular set of shapes, based upon the user input, given by a
JSP. The user's input is handled by a
servlet, which performs some calculations and then generates co-ordinates of the shapes to display.
Now, I first tried to implement the display part by using
applets, but soon realized that the embedded applets would display only static images and not dynamically. I searched over the net and found that image generation can be done extending JFrame class. But now I am in a fix on how to call the display class, from the servlet.
So my question is....Is it possible to call a
java class from a servlet to display set of shapes dynamically. If yes, how am I supposed to pass parameters from the servlet to java class? I searched over the net for this but couldn't find anything.
Any help on how to implement this (including any other method), would be greatly appreciated. Thanks in advance.