<af:commandLink text="#{row.Blobname}" id="cl1"
actionListener="#{backingBeanScope.BlobBean.downLoadFile}"/>
//af:table中的列
public void downLoadFile(ActionEvent actionEvent) {
FacesCtrlHierNodeBinding f = (FacesCtrlHierNodeBinding)this.tablebinding.getSelectedRowData();
Row row = f.getRow();
BlobDomain fileContent = (BlobDomain)row.getAttribute("Fl");
String fileName = row.getAttribute("Blobname").toString();
System.out.println(fileName+"文件名");
String fileType = "aplication/octet-stream";
if (fileName.endsWith(".pdf")) {
fileType = &