*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 41088
    
  43
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).


Ping & DNS - my free Android networking tools app
 
Consider Paul's rocket mass heater.
 
subject: Displaying features based on jars present in Tomcat application
 
Similar Threads
Tomcat 5.5.9/Admin error
last login information required
JSF Based login portlet for liferay
Any used Swing application framework?
How to share value between mutiple war files?