Hi all,
Happy New Year !
It's great that DG has returned.
I want to create an applet that accepts user input in Internet Explorer,
then use servlet to process the results,
and return the results back to the applet .
Could you suggest me how to make use of the Jfreechart ?
Should I create an applet myself or adopt the existing code in the JFreeChart to communicate with the JFreeServlet ?
and how can the applet and the servlet communicate with each other ?
Thanks
Artemis
Applet and Servlet
Re: Applet and Servlet
Hi Artemis,
I'm no expert on applets or servlets, but I guess the answer is going to depend on what you are trying to achieve. Do you need the applet for input? Maybe you can get there with HTML forms and let the servlet do the processing and just return a chart image. Or can you do everything in the applet? Maybe you don't need the servlet to do any processing...but it all depends on what your application is doing.
Regards,
Dave Gilbert
I'm no expert on applets or servlets, but I guess the answer is going to depend on what you are trying to achieve. Do you need the applet for input? Maybe you can get there with HTML forms and let the servlet do the processing and just return a chart image. Or can you do everything in the applet? Maybe you don't need the servlet to do any processing...but it all depends on what your application is doing.
Regards,
Dave Gilbert
Re: Applet and Servlet
Thanks DG,
So could you suggest me how to call an applet in the servlet ?
I want the html form calls servlet, then pass the jfreechart object to an applet to display.
Thanks
Artemis
So could you suggest me how to call an applet in the servlet ?
I want the html form calls servlet, then pass the jfreechart object to an applet to display.
Thanks
Artemis