Is here a way to discover whether ofbiz is currently processing a GET or a POST

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Wai
Reply | Threaded
Open this post in threaded view
|

Is here a way to discover whether ofbiz is currently processing a GET or a POST

Wai
Are there any flags or methods currently implemented within ofbiz to let me know whether the current request is a GET or a POST, other than referring to ControlServlet.doGet() and ControlServlet.doPost().

Tia
Wai
Reply | Threaded
Open this post in threaded view
|

Re: Is here a way to discover whether ofbiz is currently processing a GET or a POST

David E. Jones-2

You can get the HTTP request method from the standard Java
HttpServletRequest object.

-David


Wai wrote:

> Are there any flags or methods currently implemented within ofbiz to let me
> know whether the current request is a GET or a POST, other than referring to
> ControlServlet.doGet() and ControlServlet.doPost().
>
> Tia
> Wai
>
> --
> View this message in context: http://ofbiz.135035.n4.nabble.com/Is-here-a-way-to-discover-whether-ofbiz-is-currently-processing-a-GET-or-a-POST-tp4246972p4246972.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.