I am not sure if i phrased my question correctly. But i think I am getting to something based on your response. What I am trying to do is:
in one jsp i have
<jsp:include page="another.jsp">
<jsp:param name="something" value="something=somethingElse"/>
</jsp:include>as a result of this include, request.getParameter("something") in another.jsp returns null;
As I was writing this email I figured it out.. I have to use %3D instead of the = and it's all fine....
Thanks for your help; Vlad
At 03:29 PM 10/21/2003, you wrote:
That's normal. The value was empty if you have a line http://server/servlet?param1=wade¶m2=&dog=dog
param2 had no value, so does it matter if you find it or not?
public String workingValue(String s) { if( s != null ) { //just return s later. } else { s = ""; } return s; }//end workingValue
That should fix any worries.
Wade -----Original Message----- From: Vladimer Shioshvili [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 21, 2003 2:36 PM To: Tomcat Users List Subject: parameter null if an equal sign in the value of the jsp:param?
Hello all,
I haven't had much luck locating any information regarding this. And I am not even sure if this is a right place for this question.
I am using Tomcat 4.0.6 and when passing a parameter with <jsp:include> if the value of the parameter contains an equal sign ("=") parameter is absent (or null?) from the request of the included page.
Has anyone seen such a behavior?
Thanks, Vlad
________________ Vladimer Shioshvili
QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814
Phone: (301) 657 3077 ext. 155
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
________________ Vladimer Shioshvili
QRC Division of Macro International Inc. 7315 Wisconsin Avenue, Suite 400W Bethesda, MD 20814
Phone: (301) 657 3077 ext. 155
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
