Clean URLs using jsp/ servlets?
问题 I am planning to make a CMS using jsp and servlets. Could anyone tell me how to implement clean urls using this technologies? 回答1: You could try using urlrewritefilter: http://code.google.com/p/urlrewritefilter/. This uses a servlet filter and an xml-file to allow your application to have clean url's. The construction of the clean url's would be your own responsibility. 回答2: Make use of HttpServletRequest#getPathInfo() in the servlet which is acting as front controller. Kickoff example