yeah,
thanks for the answers, that works!

bye,
nils

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Gesendet: Dienstag, 11. Mai 2004 14:24
> An: [EMAIL PROTECTED]
> Betreff: Re: xsp:logic question
> 
> 
> 
> 
> 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]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to