Reply To: Is this a bug? Should I add a prefix in URL?

Splash Forums Rewrite Users Is this a bug? Should I add a prefix in URL? Reply To: Is this a bug? Should I add a prefix in URL?

#26057

vished
Participant

well, I try it something and find the solution, by adding a new class for my startPage:

@RewriteConfiguration
public class UrlConfigProvider extends HttpConfigurationProvider {

	@Override
	public Configuration getConfiguration(ServletContext context) {
		return ConfigurationBuilder.begin()

				.addRule(
						Join.path("/home").to("/startPage.jsf")
								.withInboundCorrection());

	}

	@Override
	public int priority() {
		return 0;
	}

}