标签: java servlets
有人能告诉我如何在使用servlet和JSP存储在文件系统中的新浏览器中显示PDF文件吗?
import os def read_first_line(filename): with open(filename) as f: print f.readline() for filename in os.listdir(os.getcwd()): if os.path.isfile(filename): read_first_line(filename)