What could be the easiest way to check if a certain username exists?<br>I have an xml like this:<br><br><tomcat-users><br>   <role rolename="tomcat"/><br>   <role rolename="role1"/><br>
   <role rolename="manager"/><br>   <user username="tomcat" password="tomcat" roles="tomcat"/><br>   <user username="both" password="tomcat" roles="tomcat,role1"/> 
<br>   <user username="role1" password="tomcat" roles="role1"/><br></tomcat-users><br><br>When it comes to check if a certain user with a certain username exists, I don know an easy way to do that. Can someone help? Thnx.
<br>