解决刷新页面造成的Form重复提交触发监听方法

 @InjectObject("engine-service:page")
  public abstract IEngineService getPageService();
  
  public ILink doFormSubmit()
  {
    // ... write data to a database
    
    setMessage("Your changes have been saved.");
    
    return getPageService().getLink(false, getPageName());
  }   

你可能感兴趣的:(servlet,tapestry)