[Hippo-cms7-user] jsp forward and parameter passing

Ard Schrijvers a.schrijvers at onehippo.com
Thu Dec 20 22:43:37 CET 2012


We forward or redirect during doBeforeRender phase in hst component class
and not during rendering (jsp,ftl) normally...
Op 20 dec. 2012 22:14 schreef "Jeroen Reijn" <j.reijn at onehippo.com> het
volgende:

> Hi,
>
> I'm not sure because I don't use jsp:forward that much. Could you perhaps
> explain in a bit more detail why you are using forward and what you are
> trying to achieve?
>
> Jeroen
>
> On Thu, Dec 20, 2012 at 9:42 PM, Shrey Shamsunder Hatle <hatlesh at umd.edu>wrote:
>
>>  Hi,
>>
>>
>>  How do we pass a parameter along with *jsp:forward from one jsp file to
>> another jsp file (both in the same location)* when the code is in HIPPO
>> CMS?
>>
>>
>>  We tried using:
>>
>>
>>  <jsp:forward page="<hst:link path='/search'/>">
>>
>>     <jsp:param name="error" value="Oops! You must enter a search term." />
>>
>> </jsp:forward>
>>
>>
>>  And
>>
>>
>>   <jsp:forward page="search.jsp">
>>
>>     <jsp:param name="error" value="Oops! You must enter a search term." />
>>
>> </jsp:forward>
>>
>>
>>   But this is not working. Can someone please help me with this ? Am I
>> missing something here?
>>
>>
>>  Regards
>>
>> Shrey Hatle
>>
>> _______________________________________________
>> Hippo-cms7-user mailing list and forums
>> http://www.onehippo.org/cms7/support/forums.html
>>
>
>
>
> --
> Jeroen Reijn
> Solution Architect
> Hippo
>
> Amsterdam - Oosteinde 11, 1017 WT Amsterdam
> Boston - 1 Broadway, Cambridge, MA 02142
>
> US +1 877 414 4776 (toll free)
> Europe +31(0)20 522 4466
> www.onehippo.com
>
> http://about.me/jeroenreijn
>
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/forums.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onehippo.org/pipermail/hippo-cms7-user/attachments/20121220/2d073618/attachment.htm>


More information about the Hippo-cms7-user mailing list