您的位置:寻梦网首页编程乐园Java天地JSP 专辑JSP001 HTML 离线版
Java 天地
JSP001 HTML 离线版
精选文章 >> 未分类的问题 >> 中途退出

由 webmaster 发布于: 2001-01-20 16:52

<%
if (request.getParameter("foo") != null) {
// generate some html or update bean property
} else {

/* output some error message or provide redirection
back to the input form after creating a memento
bean updated with the 'valid' form elements that were input.
this bean can now be used by the previous form to initialize
the input elements that were valid
then, return from the body of the _jspService() method to
terminate further processing */

return;
}
%>




资料来源: JSP001.com