Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
The moose likes Tomcat and the fly likes External jar for Web Project Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "External jar for Web Project" Watch "External jar for Web Project" New topic

External jar for Web Project

i jj

Joined: Dec 26, 2010
Posts: 1
Hi.. everyone.
I need to run web project using Tomcat Server.
The problme is caused by 'External Jar'.
I built my web project in Eclipse and I build the path 'External jar' using tool.
and It's working very well when I run server in Eclipse.

But I need to run this web project not using Eclipse tool.
That is, what I want to do is
1) deploy war file that I make
2) start tomcat
and see It's working...

Again.. Is ther anybody who have experience to use external jar file within Tomcat??
I cannot find where I have to set my classpath for external jar file.

Please don't mention to put 'jar files' into lib folder.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63350

i jj wrote:Please don't mention to put 'jar files' into lib folder.

Why not? It's the correct place to put dependency jars.

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Consider Paul's rocket mass heater.
subject: External jar for Web Project
It's not a secret anymore!