Splash › Forums › Rewrite Users › Programmatic navigation, reverse path generation › Reply To: Programmatic navigation, reverse path generation
Hi there! If I understand correctly, you want to build a URL using Rewrite? That is quite simple, actually! You can just use the native Servlet APIs:
String rewrittenURL = response.encodeRedirectURL(loginViewId + "?language=" + lang);
Rewrite will intercept this URL encoding request and provide the appropriate translation.
Let me know if this works! Thanks,
If you find our tools useful, please consider making a donation to help us stay online and building software!