WebSphere Commerce EnterpriseWebSphere Commerce Professional

DisplayMessage URL

Displays a message from the MESSAGE table. The messages are created by the Trading subsystem.

URL structure

http:// host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

Parameter values

msgrfn
Required: The message reference number.
url
Required: The view command to use to display the message.
displayMessage
Required: The status code of message to display. Only messages with a status of 'N' can be displayed. Other messages with other status codes cannot be displayed.

Example

This example displays the message 10001:


http://myhostname/webapp/wcs/stores/servlet/DisplayMessage?msgrfn=10001
   &msgstatus=N&URL=MailDisplayView

Behavior

  • Validates incoming parameters.
  • Calls the MessageMemberRelationAccessBean to retrieve the message.
  • Calls the RedirectView command to display the message.

Exception Conditions

  • Throws _ERR_NUMBER_FORMAT_EXCEPTION if an message reference number is not numeric.
  • Throws _ERR_MISSING_CMD_PARAMETER if the message reference number is missing.