How to determine if a parameter has been “posted” or “geted” from Java?

前端 未结 7 1719
离开以前
离开以前 2021-01-02 04:32

In ASP, there\'s request.form and request.queryString attributes, but in Java. It seems like we have only one collection, which can be accessed via

7条回答
  •  再見小時候
    2021-01-02 04:57

    Why don't you start with checking for query string parameters, if you see none, asume a post and then dig out the form variables?

提交回复
热议问题