You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Matt Read <mr...@dircon.co.uk> on 2002/02/06 18:36:57 UTC

bean:write ?

Could anyone tell me what the struts equivalent of this scriplet should be?

<%
	if (request.getAttribute("messages") != null) {
		out.println((String) request.getAttribute("messages"));
	}
%>

Thanks,
Matt.

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: bean:write ?

Posted by Jim Crossley <jc...@ifleet.com>.
"Matt Read" <mr...@dircon.co.uk> writes:

> Could anyone tell me what the struts equivalent of this scriplet should be?
> 
> <%
> 	if (request.getAttribute("messages") != null) {
> 		out.println((String) request.getAttribute("messages"));
> 	}
> %>

<bean:write name="messages" ignore="true"/>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>