How to set classpath for tomcat to run servlet codes? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to set classpath for tomcat to run servlet codes?

I have tried to set path for tomcat by watching YouTube but my servlet codes are not getting executed.please help me in finding the solution friends.

23rd Aug 2017, 12:47 PM
Divya Reddy
Divya Reddy - avatar
1 Answer
0
Doesn't tomcat work with warfiles. You pack the servlets in a warfile, and deploy it (put it in /webapps).
23rd Aug 2017, 3:42 PM
Paul
Paul - avatar