cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ramesh Vejendla <Ramesh.Vejen...@kshema.com>
Subject RE: (urgent)ESQL question
Date Wed, 13 Jun 2001 05:55:49 GMT
HI ALL,
        here i tried to keep esql results into varible and comparing with
other variable , but its not working ...plz help me out.

<xsp:logic>
	String uname="";
</xsp:logic>

<esql:connection>
		<xsp:logic>
			uname=<esql:get-string column="username"/>;
			if( username.equals(uname)){
			}
			else
				{ do something}
		</xsp:logic>
</esql:connection>


but always it goes into "else" loop not going into "if" loop at all.
even i tried trimming the both variables ,even though its not working 
plz help out..

Advance Thanks
Rammi.
*******************Confidential Notice********************

This e-mail communication may contain information that is
confidential and privileged. The information is intended
to be for the use of the addressee only. If you are not the
named addressee you should not disseminate, distribute or
copy this e-mail: to do so could be a breach of confidence.

Kshema Technologies Ltd.,
# 33/1, Lalbagh Road, Bangalore 560027, INDIA. 
Tel: (91) 80- 2995114/5/6
Fax: (91) 80 2272933 

**********************************************************

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message