Could you do the following?

<bean:cookie id="cookies" name=".." multiple="true"/>

<logic:iterate id="fav" name="cookies" scope="page">
        <bean:write name="fav" property="value" /><br>
</logic:iterate>


Kimberly MacKellar

-----Original Message-----
From: Juan Alvarado [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 16, 2001 3:35 PM
To: Struts
Subject: Question Regarding Cookies


Hello:

I am using the following code to handle some cookies in a page:

<%
        Cookie[] cookies = request.getCookies();
        pageContext.setAttribute("cookies", cookies);
%>
<logic:iterate id="fav" name="cookies" scope="page">
        <bean:write name="fav" property="value" /><br>
</logic:iterate>

What I'd like to know is if it is possible to lose the scriptlet above and
replace it with some struts specific tag and still keep the basic
functionality of the code.

Thanks in advance from a struts beginner.

**********************************************
Juan Alvarado
Internet Developer -- Manduca Management
(786)552-0504
[EMAIL PROTECTED]
AOL Instant Messenger: [EMAIL PROTECTED]


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

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

Reply via email to