•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JSP section within the Web Development category of DaniWeb, a massive community of 391,155 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,167 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JSP advertiser: Lunarpages JSP Web Hosting
Views: 1280 | Replies: 1
![]() |
•
•
Join Date: Aug 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
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
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
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
•
•
Join Date: Nov 2004
Location: Netherlands
Posts: 5,643
Reputation:
Rep Power: 18
Solved Threads: 191
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.
that location is of course the WEB-INF/lib directory.
42 Private messages asking for help will be ignored
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
In the frozen land of Nador they were forced to eat Steve's iMinstrels, and there was much rejoicing.
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JSP Marketplace
Similar Threads
- Adding images to JAR file (Netbean 5.0) (Java)
- How to include txt into jar file? (Java)
- finding a class inside a jar file (Java)
- How to create a JAR file ? (Java)
- Accessing Images in JAR file (Java)
- Loading classes from a .jar file (Java)
Other Threads in the JSP Forum
- Previous Thread: help need
- Next Thread: format output in jsp files



Linear Mode