I have a .jar file located in my program files that is from a third party and is require when running the bean on the web server.

When running the app in a non jsp environment, I use the

java –cp {jar file name and location} [class name]

How do I reference the path of my .jar file, so that it is available when the jsp bean is run on the web server?

Thanks,
Harold Clements

place it in the correct location within your web application and it will be picked up automagically.
that location is of course the WEB-INF/lib directory.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.