File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Displaying features based on jars present in Tomcat application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Displaying features based on jars present in Tomcat application" Watch "Displaying features based on jars present in Tomcat application" New topic
Author

Displaying features based on jars present in Tomcat application

Rajkumar Seenappa
Greenhorn

Joined: Apr 01, 2013
Posts: 1

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
Marshal

Joined: Mar 22, 2005
Posts: 42950
    
  70
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).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Displaying features based on jars present in Tomcat application