I'm trying to use the <fmt:message> tag to retrieve a message from a
resource bundle and store that message in a variable for later use.

I'm running WebLogic 7.0, and the JSTL release dated Oct 13, 2002.

I've tried the following:

        <fmt:bundle basename="properties.syndication_jsp"/>
        <fmt:message key="subscription_successful">
            <fmt:param value="${successMsg}"/>
        </fmt:message>
                <jsp:forward page="MySubscriptions.jsp">
                    <jsp:param name="message" value="<%=successMsg%>" />
                </jsp:forward>

I've also tried this:

        <fmt:bundle basename="properties.syndication_jsp"/>
        <fmt:message key="subscription_successful" var="successMsg"
scope="request"/>
        <jsp:forward page="MySubscriptions.jsp">
                    <jsp:param name="message" value="<%=successMsg%>" />
                </jsp:forward>

I get an error that says 'cannot resolve symbol' when it gets to the
<jsp:param/> element.  I assume I'm using this incorrectly.  What is the
correct way to do it?


Brian R. Robinson
Hewlett-Packard Company
6000 Irwin Road
Mount Laurel, NJ 08054
(856) 638-6096


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to