Hi,

When using the <jsp:param> tag in a forward or an include, the existing
request parameters get "forgotten".

Page1.jsp would contain something like that

<jsp:forward page="Page2.jsp" >
        <jsp:param name="param2" value="world" />
</jsp:forward>

If I use an URL like ".../Page1.jsp?param1=hello", then Page2.jsp only gets
param2 and not param1.
Now if I remove the <jsp:param> tag from Page1.jsp and use the same URL,
Page2.jsp gets param1.

In Tomcat, Page2.jsp gets param1 *and* param2.
Who is right?


 

Philippe Renon
décalog - 5, rue Bachaumont - 75002 PARIS
Voice   : +33 (0) 1 40 28 44 64
Fax             : +33 (0) 1 40 28 24 54
E-mail  : mailto:[EMAIL PROTECTED]
 



Reply via email to