use equals() instead
String o = <xsp-request:get-server-name/>; if (o.equals("localhost")){ ... some code ... } --stavros On Tue, 11 May 2004, Nils wrote: > Hi there, > > i have: > > if (<xsp-request:get-server-name/> == "localhost") { > ....some code... > } > > i know exactley, that <xsp-request:get-server-name/> returns localhost, but > "...some code..." never gets executed... > > any hint? > > bye, > nils > > > --------------------------------------------------------------------- > 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]