【发布时间】:2009-10-21 08:23:05
【问题描述】:
我有一个问题。我需要运行查询以从表 t 中获取数据说测试。查询当前在操作类中运行。它需要 20 秒才能运行。现在我的问题不是所有时间 t会有价值,如果我让他们等待检查 t 是否存在,用户会很生气。
select t from table
if(t!=null&&!(.equals("")))
{
return (mapping.findForward(result));
}
// Normal flow
我总是执行正常流程并在后台运行查询并在我获得 t 的值并返回到 struts config 中提到的页面时中断会很好。有没有办法去做这个?
【问题讨论】:
标签: java struts struts-action