You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.6 KiB
48 lines
1.6 KiB
1 year ago
|
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
|
||
|
<%
|
||
|
String path = request.getContextPath();
|
||
|
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||
|
%>
|
||
|
|
||
|
<HTML>
|
||
|
<HEADER>
|
||
|
<TITLE>涉密资产统计</TITLE>
|
||
|
</HEADER>
|
||
|
<link rel="stylesheet" type="text/css" href="../../css/font.css">
|
||
|
<script src="/js/check.js"></script>
|
||
|
<script src="../../js/date.js"></script>
|
||
|
<link rel="stylesheet" type="text/css" href="../../js/2k3Grid.css">
|
||
|
<link rel="stylesheet" type="text/css" href="../../js/2k3Menu.css">
|
||
|
<link rel="stylesheet" type="text/css" href="../../js/2k3Dialog.css">
|
||
|
<BODY style="text-align:center;">
|
||
|
<br/>
|
||
|
<H2>涉密资产统计</H2>
|
||
|
<FORM name=imgForm METHOD=POST action="Chartsmsb.jsp">
|
||
|
<%
|
||
|
String type=request.getParameter("chart");
|
||
|
System.out.println(type+"----++");
|
||
|
String checked = "";
|
||
|
String pieChecked = "";
|
||
|
String barChecked = "";
|
||
|
if(type!=null){
|
||
|
pieChecked = (type.equals("pie") ? "checked" : "");
|
||
|
barChecked = (type.equals("bar") ? "checked" : "");
|
||
|
System.out.println(checked);
|
||
|
}else
|
||
|
pieChecked = "checked";
|
||
|
%>
|
||
|
<INPUT TYPE="radio" NAME="chart" VALUE="pie" <%=pieChecked %>> 饼状图
|
||
|
<INPUT TYPE="radio" NAME="chart" VALUE="bar" <%=barChecked %>> 柱状图
|
||
|
<INPUT TYPE="radio" NAME="chart" VALUE="bar" <%=barChecked %>> 扇形图
|
||
|
<INPUT TYPE="radio" NAME="chart" VALUE="bar" <%=barChecked %>> 折线图
|
||
|
<br/><br/>
|
||
|
<INPUT TYPE="submit" style="border: 1px;" VALUE="生成图像" class="box_button" >
|
||
|
</FORM>
|
||
|
<%
|
||
|
if(type!=null){
|
||
|
%>
|
||
|
<img src = "servlet2?type=<%=type %>" BORDER=1 WIDTH=600 HEIGHT=500/>
|
||
|
<%} %>
|
||
|
</BODY>
|
||
|
</HTML>
|