| Author |
How to get Name of the java project
|
Seetharaman Venkatasamy
Ranch Hand
Joined: Jan 28, 2008
Posts: 5575
|
|
Hi Folks,
How can i get application[project] Name in simple java class ?
|
 |
Dawn Charangat
Ranch Hand
Joined: Apr 26, 2007
Posts: 249
|
|
what kind of application ?
1) Web application - contextRoot will give it to you
2) An application inside app server - find it from the application context.
3) A single class java application - this.getClass().getName()
4) A multiclass java app which doesnt fall into any of the above categories - god help you !!!
|
 |
 |
|
|
subject: How to get Name of the java project
|
|
|