I'm just starting out using Java after using PHP for the last 15 years or so.
What I'd like to know is, is there a way to map a url i.e. /myservlet/mymethod/ to a specific method in the servlet?
I know this is bordering on MVC framework functionality, but it's mainly for my own knowledge and experience.
If the above can't be configured, I guess it would be possible to create code in the doGet() method which tries to determine a method name from the last part of the URL, and if the method exists, call it?