tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Drew Stovall" <dstov...@sunsetdirect.com>
Subject RE: How to get all request parameters
Date Thu, 23 Jan 2003 22:09:26 GMT
Since this is the taglibs list...

<table>
    <tr>
        <td colspan="2"><h2>Request Parameters</h2></td>
    </tr>
    <tr>
        <th>Parameter Name</th>
        <th>Values</th>
    </tr>

    <c:forEach var="entry" items="${param}" >
        <tr>
            <td><c:out value="${entry.key}" /></td>
            <td>
                <ul>
                    <c:forEach var="value" items="${entry.value}" >
                        <li><c:out value="${value}" /></li>
                    </c:forEach>
                </ul>
            </td>
        </tr>
    </c:forEach>
</table>


-Drew

-----Original Message-----
From: Zhao Cheng [mailto:zcheng@cisco.com] 
Sent: Thursday, January 23, 2003 10:05 AM
To: Tag Libraries Users List
Subject: Re: How to get all request parameters


call a function to get all parameter names
then for each parameter name, make function call to retrieve its
value(s)

At 04:43 PM 1/23/2003 +0100, you wrote:
>Hi
>
>This is probably a stupid question, but how do I get all the parameters

>from the request with their value? I need some output like:
>parameter_1 = output_1
>parameter_2 = output_2
>
>etc.
>
>I know I can access a certain value with param.key - but a collection 
>of all keys?
>
>Best regards,
>Eric
>
>
>--
>To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: 
><mailto:taglibs-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:
<mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:taglibs-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@jakarta.apache.org>


Mime
View raw message