How to work with reference projects in eclipse

Well, maybe everyone knows how to do this, but I never tried it because I never needed it, how do you work with multiple reference projects in eclipse? I have a couple of Struts 1 web applications that should use a different struts library project “1”, and right now I'm making a connection between them using urls that are really annoying (at least as I implemented it).

I would like to be able to use the classes of the "library" project directly in other layout applications.

Until now, I know that they are supposed to be in the same workspace and that I should refer to the "project links" options in the project properties, but it is! I really don't know what to do next.

Thanks!


Ok, that's all! Now that I export the struts application to a WAR file, what happens with the struts library application? Do I need to export to separate WAR files, and by exporting the main application, does WAR also export all library web application files as well ?

+5
source share
2 answers

Projects Menu → Properties

Go to the Java build path.

, .

+5

, jar WAR, Application Server ( ).

- WAR EAR . Tomcat, WebSphere, WebLogic...

0

All Articles