Including Applet in JSP page

Posted by Hara Chaitanya on Stack Overflow See other posts from Stack Overflow or by Hara Chaitanya
Published on 2010-04-09T04:37:35Z Indexed on 2010/04/09 4:43 UTC
Read the original article Hit count: 429

Filed under:
|

Hi everyone,
I wrote an Applet program which draws a pie chart. The values for the applet should be passed from JSP page.
I wrote the following lines of code in JSP

jsp:plugin type="applet" code="drawPie" codebase="." width="750" heigth="300"
jsp:params
jsp:param name="user_id" value="<% =user %>"
/jsp:params
/jsp:plugin

and in applet i used

String user=getParameter("user_id");

when i open the jsp page nothing comes neither error nor the chart ........

What is the problem/error in the above code snippet.....

© Stack Overflow or respective owner

Related posts about jsp

Related posts about applet