Sun Java System Web Server 6.1 SP6 Programmer's Guide to Web Applications



Prints out an error message from formAction, if any.


formId. (optional) Specifies the name of the form in question. If not specified, the default id is "searchForm."

elem. (optional) Specifies the name of the element. Valid inputs are "query" and "collection." When specified, the tag returns an error message, if any, regarding the element. Otherwise, it prints out all of the error messages generated.


<FormActionMsg elem="query">

This tag will display a message "query text not specified" if a query is not submitted.

The message is printed from the form action where the tag is placed.