Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Anpu Massri   on Apr 19 In Java Category.

  
Question Answered By: Vidos Fischer   on Apr 19

you're comparing if the two strings  are the same
reference not same "value" try s.equals(contentFlag)
that should give you your desired bahaviour.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on problem with string comparison Or get search suggestion and latest updates.


Tagged: