+ is what space gets URL-encoded to... you have it in a query string, which the server will always decode when it is received, so when it gets decoded it is transformed into a space because it is assumed that the query string was encoded and space was replaced with +.
In short, what you are seeing is correct behavior. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, June 20, 2005 12:01 pm, David Gagnon said: > Hi all, > > I'm using tomcat and Struts I just noticed that charater + is not > transmitted correcty to the server: > > Per example if posting to addresse > IFrameDoc.location.replace('/unikommerce/action.do?id=DAVE+++aa&lookupGroup=f' > > The id attribute get populated by :DAVE aa. (i.e.: the + are replaced > !!!!!) > > The + characters are replaced by some characters. > > that's the only character that does this .. I tried -_.\/ everything > works but not + . > > I'm pretty sure it's not a struts issue but maybe a Tomcat one. It may > be an encoding problem .. but I'm not able to find the problem.. thanks > for your help > > > Any idea? > /Dave > > > > > > > > > --------------------------------------------------------------------- > 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]