摘要:
如果想要给一个form表单赋予多种操作。如:在这个表单中,希望可以有“删除”和“移动”两种动作。但是一个form只有一个action处理要怎样才能用一个action应对两种不同的操作呢?在servlet的参数HttpServletRequest req中,有一个函数,名为getParameterNames()。这个参数的含义是:Returns an Enumeration of String objects containing the names of the parameters contained in this request. If the request has no parame
阅读全文