On 08.Jan.2003 -- 06:36 PM, [EMAIL PROTECTED] wrote:
> I have a strange problem. I'm trying to compare two values in the
> "<esql:row-results>"-Part with an if-compare, but somehow the if-construct
> is never entered even if there are matches.
> (I put the System.out's to see if there are matches. There are some.)
> String report_id = <xsp-request:get-parameter name ="report_id"/>;
> if(report_id == <esql:get-string column ="ID"/>)
Compare Strings in JAVA with report_id.equals(<esql:get-string column="ID"/>)
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>