Re: How can I do for it using rewrite

Splash Forums Rewrite Users How can I do for it using rewrite Re: How can I do for it using rewrite

#22635

yyq2009
Participant

Thanks for your reply.

.addRule( Join.path("/{name}.html").to("/{name}.jsf") );

I hava a question. Does the rule or Join rule do two things?

first : Convert url /article.html?id=1 to /article.jsf?id=1 when client request, and then jsf lifecycle can process it

second : If server redirect to login.jsf?expired=true, and it will rewrite to client as login.html?expired=true

Thanks.