Step 1 :
HTML:
MyHtml.html include a button, this button submit a request "draw" to "ChartServlet" servlet, "ChartServlet" will give a response.
MyHtml.html is like this:
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html>
- <head>
- <title>MyHtml.html</title>
- <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
- <meta http-equiv="description" content="this is my page">
- <meta http-equiv="content-type" content="text/html; charset=UTF-8">
- <!--<link rel="stylesheet" type="text/css" href="./styles.css">-->
- </head>
- <body><h3>Draw a Chat !</h3><br>