Stupid problem, but I can't solve it. Java server - glassfish 4. I have in WEB-INF tiles**.xml files. For example I have tiles.xml, tiles2.xml (I can have more in future) and I need to get them. I use the following code
Collection<ApplicationResource> webINFSet =
applicationContext.getResources("/WEB-INF/tiles*.xml")
However it this code returns only one.
System.out.println("Size:"+webINFSet.size());//out Size:1
Where is my mistake?