I'm having problems compiling my servlet. I have searched around a lot, but none show how to compile with both jars AND class dependencies, just either or.
I have two jars: SQLite
and Servlet
. However I have managed to compile SQLServer
with the SQLite
jar.
So my problem is to compile RegisterServlet
, which is dependent on both servlet-api.jar
and the compiled SQLServer.class
.
If anything is unclear, please comment.
What I'm after is something like this:
javac -cp servlet.jar; SQLite.class RegisterServlet.java