简体   繁体   中英

redirecting to a common page

i want to redirect all request to common page and on that common page i want to check whether this url exists or not.

for example my base URL is www.iCare.com

when any one want to access his clinic page eg(www.icare.com/myclinic) the url is redircted to a common page and at that page i get the current url and matches it with DB that this URL exists or not.

Filter (不是普通页面)是您要寻找的

Servlet filter is a better option. With servlet filter you need not redirect.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM