URL routing in Java
•
Java
From other web frameworks, I'm used to being able to map part of a URL to method parameters I know web XML provides a way to map the entire URL to a servlet, but is there any way to get more functionality from it, such as mapping various parts of the URL to method parameters?
Solution
Using spring (MVC) is too much for this If you don't need dependency injection, you will be satisfied with redirect filter
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码