struts-bean:
<bean:write name="MY_NAME" />
or JSTL:
<c:out value="${MY_NAME}" />
> -----Original Message-----
> From: Fumitada Hattori [mailto:[EMAIL PROTECTED]
> Sent: 27 August 2003 17:02
> To: [EMAIL PROTECTED]
> Subject: How to get a String object from request scope.
>
>
> Hi gurus.
>
> I got one Action servlet class and one jsp.
> If the action servlet is successfully processed, it's forwarded to the
> jsp.
> In the Action servlet, there's a following statement.
> ----------------------------
> ....
> ....
> String my_name = "JACK";
> request.setAttributte("MY_NAME",my_name);
> return (mapping.findForward("success"));
> ----------------------------
>
> Now I wanna get the "MY_NAME" property with a struts tag in the jsp
> which is redirected from the Action servlet.
> I don't know how to make it since the instance(my_name) in the action
> servlet is a just String Object...not a javabean.
>
> Thanks in advance.
>
> wolfgang
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.512 / Virus Database: 309 - Release Date: 19/08/2003
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]