how to set a page in Struts2 to automatically redirect the wrong urls

前端 未结 2 1873
旧时难觅i
旧时难觅i 2021-01-16 19:41

I need to redirect the incorrect URL to my server to a specific page. how can I make that possible?

2条回答
  •  庸人自扰
    2021-01-16 20:27

    Use this

    
    

    it will automatically redirect to the specified in the url position.

提交回复
热议问题