Reference > Shop flow URLs > Trading subsystem URLs > Auction URLs
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 the WebSphere Commerce Server and the configuration path.
name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />
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.
Related concepts
Related tasks
Related reference