<c:set var="creator" value="${articleForm.creator}" scope="session" />
might do the job. I haven't tried it but I reckon it should work.
On 13 Dec 2003, at 06:44, Caroline Jen wrote:
The statement below in my JSP can write out the value of the "creator" property in the articleForm:
<bean:write name="articleForm" property="creator"/>
I want to pass the value of the "creator" in a session object. What should I do in my JSP?
<% String creator = (String)articleForm.getCreator; session.setAttribute("creator", creator); %>
Or, can I pass articleForm in a session object? <% session.setAttribute("articleForm", articleForm);%>
__________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]