<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>

<s:form action="companyReport!previewReport.action">
cname: <s:textfield name="cname"/>
<s:submit value="生成报表"/>
</s:form>

<a href="companyReport!exportReport.action?format=pdf">pdf</a>&nbsp;&nbsp;
<a href="companyReport!exportReport.action?format=html">html</a>&nbsp;&nbsp;
<a href="companyReport!exportReport.action?format=xls">xls</a>&nbsp;&nbsp;
<a href="companyReport!exportReport.action?format=csv">csv</a>&nbsp;&nbsp;
<br>

${requestScope.htmlReport}
</body>
</html>