for a @webservlet annotated servlet, how can I do something similar to spring mvc:
@Path = my/custome/path/{id}
and then use the id in the servlet code?
or do
@requestParam (for post) ?
and use those params in the code.
Note: I want pure java-ee solution, not with some framework like spring, or struts etc.