Open rxue opened 1 year ago
replace the existing filter SearchPageFilter with FrontController servlet whose responsibility is to forward request to corresponding jsf
SearchPageFilter
FrontController
dictionary.cn/en
dictionary.cn/search.xhtml?language=en
dictionary.cn/en/hello
dictionary.cn/search.xhtml?language=en&word=hello
TODO
replace the existing filter
SearchPageFilter
withFrontController
servlet whose responsibility is to forward request to corresponding jsfExample INPUT and OUPUT
dictionary.cn/en
would FORWARD to:dictionary.cn/search.xhtml?language=en
dictionary.cn/en/hello
would FORWARD to:dictionary.cn/search.xhtml?language=en&word=hello