<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%> A Flash Chart <% String base = ""; int width = 500; int height = 250; String dataurl = request.getRequestURL().toString(); // // escape the & and stuff: // String url = java.net.URLEncoder.encode(dataurl.replace("/chart.jsp", "/chart-data.jsp"), "UTF-8"); // // if there are more than one charts on the // page, give each a different ID // //int open_flash_chart_seqno; String obj_id = "chart"; //String div_name = "flashcontent"; // These values are for when there is >1 chart per page // $open_flash_chart_seqno++; // $obj_id .= '_<%=open_flash_chart_seqno; // $div_name .= '_<%=open_flash_chart_seqno; // Not using swfobject: %>