datou
datou · 共 2 篇文章
Utilizing ANT to Run Test Case
Dear All: While utilizing Junit task to run TestCase in ANT , occur following error , The Test Cases work fine While running in Eclipse as Junit Test . Below are error trace and Ant task code: error trace: quote: java 代码 jtest: [junit] Running com.reyes.business.DefaultBookingServiceTest [junit] Te…
2007-04-22 18:41 · 评论(1) · Java · junit · Eclipse · UI · Ant
导出excel文件时,出现死循环请求 的解决方案
本人在项目开发中碰到这样的情况:若哪位高手知道解决方法,请给点高见。 项目框架是:[b]Struts+spring+hibernate [/b]。 现在有个功能是要导出excel文件,我使用了以下的请求径: [list] 1.[code] 导出xls [/code] 2.[code] function doExcel(){ document.URL ="/doExportExcel.do; // 第一种请求 location.href ="/doExportExcel.do";// 第二种请求 }[/code][/list] 本人用以上三种请求时,都会出现死循环请求,一直到 session …
2006-10-10 20:45 · 评论(0)