struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Siggelkow <bills...@bellsouth.net>
Subject Re: Request object
Date Thu, 10 Jun 2004 21:26:13 GMT
Use --
<bean:param id="headerVar" name="header"/>

this will create a page-scoped variable and a scripting variable. 
Complete details can be found at:

http://jakarta.apache.org/struts/userGuide/struts-bean.html#parameter

Naresh Sharma wrote:

> HI,
> In one of my include JSP I wish to fetch a particular request attribute 
> which was set by main jsp page
> <%
> HttpServletRequest httpRequest = (HttpServletRequest)request;
> String header                 =          httpRequest.getParameter("header");
> %>
> Right now I am doing something like this?, please let me know the struts way


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message