Spring Cloud Gateway RewritePath to Struts1 style

Viewed 21

I'm studying Spring Cloud Gateway, and I'm using old fashion Struts1 AP server, which is using [*.do] url patterns representing their actions and Struts1 AP server will be my backend server for Spring Cloud Gateway.

So, I need to change request url to [*.do] style, I'm using predicates and filters, especially trying "RewritePath" feature, But still I can't solve this problem.

for example,

I need to have my request

"/aaa/ccc"

change like this.

"/aaa/ccc.do"

Anyone could you help me somehow? maybe using rewritePath?

0 Answers
Related