hi all, I have simple question which is how to access to servlets inside subdirectories of classes directory?
I know that for one subdirectory inside the classes directory , you can access to servlets like this
http://host/servlet/packageName.ServletName
but how about the servlet is inside one or more subdirectories? I have tried this
http://host/servlet/packageName1/packageName2/packa geName3.ServletName
but it doesn't work , please can some one help me .
thank you

configure the servlet mapping in the web.xml properly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.