摘要
Struts采用MVC模式,能够有效地将业务逻辑和显示逻辑分离,很好地帮助Java开发者利用J2EE开发Web应用系统。iText是一个能够快速产生PDF文件的Java类库,能方便地生成包含文本、表格和图形的只读文档,且与Servlet可以很好的结合。将Struts架构与iText组件结合,在服务器端使用Jsp或JavaBean生成PDF报表,有效地解决了B/S系统中的Pdf报表处理问题。
Struts, based on MVC model,can separate the service logic and display logic efficiently, which can help Java developers to develop Web application system in the use of J2EE. iText is a Java class library that can produce PDF file conveniently,and produce read--only documents including text,form and picture easily. It can also combine well with Java Servlet. We can use Jsp or JavaBean to produce PDF form by the combination of Struts architecture and iText groupware in server system. In this way,the PDF form disposal problem in B/S system can be solved well.
出处
《现代电子技术》
2006年第22期46-48,共3页
Modern Electronics Technique