问题
I'm wondering if It's possible to use Rewrite engine for Wildfly application server without any third-party library. I have tried to use RewriteValve, but it did not work with Wildfly 8.x
If it's not possible, Is there any tiny library to use?
回答1:
You can use Predicates Attributes and Handlers provided by undertow, you must add the file undertow-handlers.conf
into WEB-INF
directory with the rules.
Another alternative is use prettyfaces.
来源:https://stackoverflow.com/questions/28218940/rewrite-engine-for-wildfly