Lines 840-851
Link Here
|
840 |
* @param name Name of the child Container to be retrieved |
840 |
* @param name Name of the child Container to be retrieved |
841 |
*/ |
841 |
*/ |
842 |
public Container findChild(String name) { |
842 |
public Container findChild(String name) { |
843 |
|
843 |
|
844 |
if (name == null) |
844 |
if (name == null) |
845 |
return (null); |
845 |
return (null); |
846 |
synchronized (children) { // Required by post-start changes |
846 |
synchronized (children) { // Required by post-start changes |
847 |
return ((Container) children.get(name)); |
847 |
Container c = (Container) children.get(name); |
|
|
848 |
if (c!=null) { |
849 |
return c; |
850 |
} else { |
851 |
//Try entity decoding it |
852 |
return (Container) children.get(java.net.URLDecoder.decode(name)); |
853 |
} |
848 |
} |
854 |
} |
849 |
|
|
|
850 |
} |
855 |
} |
851 |
|
856 |
|