Previous Topic: ABAPNAME Statement—Specify an ABAP NameNext Topic: AGENT Statement—Specify the Agent Where the Job Runs


ACTION Statement—Specify a Servlet Path

The ACTION statement specifies the path to the servlet to be invoked in an HTTP job.

Supported Job Type

This statement is optional for the HTTP job type.

Syntax

This statement has the following format:

ACTION servlet_path
servlet_path

Specifies the path to the program or servlet to be invoked.

Limits: Up to 1024 characters; case-sensitive

Notes:

Example: Specify the Servlet Path the HTTP Job Invokes

Suppose that you want to define a job to subscribe to a mailing list located on a local server. You want to add the email address test@abc.com to the list. The servlet path is /examples/servlets/servlet/TheServlet.

AGENT APPAGENT
INVOCATIONTYPE POST
SERVLET_URL http://localhost:8080
ACTION /examples/servlets/servlet/TheServlet
PARAMETER KEYWORD(key1) VALUE(subscribe)
PARAMETER KEYWORD(key2) VALUE(test@example.com)