tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wade Chandler" <wchand...@redesetgrow.com>
Subject RE: parameter null if an equal sign in the value of the jsp:param?
Date Tue, 21 Oct 2003 19:29:38 GMT
That's normal.  The value was empty if you have a line
http://server/servlet?param1=wade&param2=&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:vshioshvili@qrc.com] 
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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




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


Mime
View raw message