I want to create a servlet that can handle sub-resources in the URL.
For example, if I deploy a servlet at /Mypage. I want the same servlet to handle requests for /Mypage/parm1 or /Mypage/parm2. I want to manually handle parm1 and parm2 as an input using request.getServletPath(). What happens right now is that it would return 404 not found.
Any help? Thanks.