# Using the Discovery taglib in JSP

The Discovery taglib provides a tag for retrieving localized messages. This is the recommended way to retrieve localized messages in JSPs.

The following is an example using the taglib:

    <%@ taglib uri='http://endeca.com/discovery' prefix="edisc"%>
    <edisc:getMessage messageName="no-matching-values"/>

    <edisc:getMessage messageName="message-with-params">
        <edisc:param value="test" />
    </edisc:getMessage>