Classpath at runtime
I wrote a file uploader and I imported that Apache package: import org.apache.commons.httpclient.*;
Now when I run the application, I have to add the JAR to the classpath before I am able to run it. Why do I have to do this?
The thing that is truly confusing me is the fact that I wrote the servlet that also imports an Apache package but I do not need to import the JAR unless I am compiling it.
Edit: Never mind, this is just an example of me not thinking straight and then coming to a realization. You can delete this question.