OpenWGA 7.0 - TMLScript reference

WGA
Property :

request

On object WGA
Usage Returns the JavaEE object representing the current HTTP request
Description Grants access to the JavaEE request object of type "javax.servlet.http.HttpServletRequest". A complete reference of the available functionalities can be found in the JaveEE API Documentation.

However, these are the most frequently used methods of this object in OpenWGA:

WGA.request.getParameter("urlparameter") - Returns a URL parameter
WGA.request.getHeader(„header-name“) - Returns the value of a HTTP header that was sent by the browser

Writable False
Return value Java object of type javax.servlet.http.HttpServletRequest
Allowed in script types
  • WebTML pages and normal WebTML actions