Hi
Help me please... can't find it out
I need to find a class's full qualified name, knowing just its simple name. Ex.: passing "Class1" to a method and getting its full name "com.pack1.Class1".
Is there a
Java API for that?
The problem is:
I'm on a
servlet and need to know if a name received as a parameter matches a class (no matter its package) on the application, or, if not, a
jsp.
Ex.: parameter received = "Client"
Searches for any Client.class on classpath and discovers its package, or, if not found, any Client.jsp
The web-application may be in a packaged zipped .war or in a exploded directory.
Thanks