URL Rewriting in Java and Spring
问题 I am new to Java and spring.I need to know how we can achieve URL rewriting in Java and Spring. For example in .NET environment we can achieve this by using following code: Global.asax.cs: protected void Application_BeginRequest(object sender, EventArgs e) { try { string fullOrigionalpath = Request.Url.ToString(); if (fullOrigionalpath.Contains("/Home-Page")) { Context.RewritePath("~/home.aspx"); return; } } } Similarly,we need to achieve in Java and Spring. Can we have anything related to