P
paolo
Hello
All the classfiles have to be in the directory WEB-INF/classes/,
right? What if you want to add a directory like
WEB-INF/classes/underDirectory/ ? If I do this, and put
MyServlet.class in this directory, how can i reach this servlet from a
browser? I tried the most logical:
http://localhost:8080/servlet/underDirectory/MyServlet
but i got "The page cannot be displayed". Why? Can't you put class
files in other underdirectory, or what?
Paolo
All the classfiles have to be in the directory WEB-INF/classes/,
right? What if you want to add a directory like
WEB-INF/classes/underDirectory/ ? If I do this, and put
MyServlet.class in this directory, how can i reach this servlet from a
browser? I tried the most logical:
http://localhost:8080/servlet/underDirectory/MyServlet
but i got "The page cannot be displayed". Why? Can't you put class
files in other underdirectory, or what?
Paolo