Please help me. I have tried to do it for days. I
just could not get it right. I got this error
message:
[ServletException in:/article/content/postForm.jsp]
Cannot find bean cr in scope session'
In my view.jsp, I put a String in a session object:
<html:form action="/list/Message">
<c:set var="cr" value="${articleForm.creator}"
scope="session"/>
<html:submit>View/Send Messages</html:submit>
</html:form>
And in postForm.jsp, I tried to retrieve that String
and write it out in a text field:
<bean:define id="author" name="cr"
scope="session" type="java.lang.String"/>
<html:text property="creator"
value="<%=author%>" size="82" maxlength="25"
tabindex="1"/>
__________________________________
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]