Chapter 5: Container
摘要:Chapter 5: ContainerA container is a module that processes the requests for a servlet and populates the response objects for web clients. A container ...
阅读全文
统计文件夹下java代码行数的小程序--主要是学习任务队列的思想
摘要:首先感谢czbk的老师,录制的视频,让我们有这么好的学习资料。……——统计文件夹java文件的行数,首先想到的肯定是用递归的方法,因为文件夹下面可能包含文件夹,用递归的方法,代码容易写。(这和写简单的网络爬虫很像,一级页面下包含有二级页面的链接,二级页面又包含下一级的超链接)但是,用递归的方式有以下...
阅读全文
利用strut2标签自动生成form前端验证代码
摘要:利用strut2标签自动生成form前端验证代码,使用到的技术有1.struts2标签,如 2.struts2读取*Validation.xml文件(*为Action名字),org.apache.struts2.components.Form.findFieldValidators(String name, Class actionClass, String actionName, List validatorList, List retultValidators, String prefix)这是在freemarker解析form-close.ftl文件()是调用的,获取关于某个输入控件的所
阅读全文