>>>>> "Craig" == Craig Tataryn <[EMAIL PROTECTED]> writes:

    Craig> I am using a tiles for a project where I have the following scenario:
    Craig> <a href="forecast.do?fieldid=1">Forecast for Field 1</a>

    Craig> The action for forecast.do, simply does some data extraction and then 
returns a
    Craig> forward to a tiles def which displays this data.

    Craig> Here is what the existing tiles def looks like:

    Craig> <definition name="site.forecast" extends="site.introPage">
    Craig>    <put name="body"   value="/chart.jsp" />
    Craig>    <put name="left"   value="/form/displayChartSummary.jsp"/>
    Craig> </definition>

    Craig> However, each of these jsp pages really should be passed the fieldid 
parameter
    Craig> that the Forecast action was passed.

    Craig> Is there anyway to get my Forecast action to pass this fieldid parameter to 
the
    Craig> pages setup in the tiles def it is going to forward to?  Or is there any 
other
    Craig> technique you might suggest as a workaround (don't particularly want to 
throw
    Craig> things in the session as I want the fieldid to be at the request level so 
users
    Craig> can see forecasts for different fields at the same time).

If you really are just doing forwards and includes, and no redirects, your
request parameters should be available to any JSP page that is part of the
request.

-- 
===================================================================
David M. Karr          ; Java/J2EE/XML/Unix/C++
[EMAIL PROTECTED]   ; SCJP



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to