Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

servlet - package  RSS feed

Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have made one servlet which is importing one package (HTML),which is again made of diff. classes:HTMLTable,HTMLForm etc.I have made all the classes for HTML pack. and it has compile without any error. And the servlet which is calling HTML package is:abc and this too has compiled without any error .
As I am working on java web server, so I have copied my abc.class file into the servlets directory of java web server.So now when i call my servlet in my browser by typing the url:http://localhost:8080/servlet/abc
it shows the page cannot be found.
So, I opened the admin page of java web server and tried to load the abc servlet but it show that "cannot upload the servlet:null"
I am not able to catch the problem so,please help me out and tell me that where I have got wrong.
(waiting for ur replies)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!