Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
使用 GWT FormPanel 时,提交表单后,它会发布表单但不会重定向到操作 url。有谁能够帮我?
formPanelObject.getElement().<FormElement>cast().setTarget("");
通过这一行,您更改了表单的目标参数,现在主页在调用 formPanelObject.submit(); 后重定向到操作 url。