Including Applet in JSP page
- by Hara Chaitanya
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.....