• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Displaying features based on jars present in Tomcat application

 
Rajkumar Seenappa
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

How display features based on the JARs exist in Web application?

For example, In a web application if 'login.jar' exists, login screen has to be displayed. Else no login screen should be displayed. How can i achieve this solution in struts 1.3.10?

Can you please provide example?
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This would be an odd way to architect a web app. Can you tell us in more detail what you're trying to accomplish (and why)?

In the meantime, you might want to check out OSGi, which has facilities to ads and remove features from applications based on the presence or absence of so-called bundles (jar files, essentially, with some special configuration).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic