Again, the answer is yes. But it does sometimes depend on the server that hosts the servlet. And some servlets are not necessarily in packages. For example, if you had a servlet called Hello.java, with the jakarta server installed on your machine. then u would call the servlet like so:
where localhost is your machines IP number and port# is the port to connect to. /examples/servlet is the default path where the jakarta server stores its servlets.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.