I have a dynamic-web project set up on Eclipse and I'm using Tomcat 7 as my web server. It doesn't seem to be automatically putting 3rd party JARs I add to my library on my build path into the WEB-INF/lib folder. Is there a way I can do this automatically? Every time I search for an answer to this, I find something like this.
So how do I do that automatically? Is there a way to configure my build path to do this?
third party jars, like struts, can be deployed within the WAR (within the WEB-INF/lib directory) of your deployed application EAR. make sure to configure your web. xml file within the WAR with , <servlet-mapping/> and specifics.
Launch it from a link using Java Web Start. It might be necessary to digitally sign the Jars (what does the app. do?). Note that a 'desktop application' would typically be coded using a JFrame , whereas the equivalent top-level container for embedding is a JApplet .
Here are the instructions for Helios. For earlier releases, see SeanA's answer.
You can use "Ant" to copy files to WEB-INF/lib when you deploy files. Using Ant you will be able to copy only those files which have changed.
http://ant.apache.org/manual/Tasks/copy.html
http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.user/gettingStarted/qs-81_basics.htm
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With