java - Mapping every URL that has no file extension to a sub-path in Spring Boot? -
i have following web app layout:
/webapp /patha /index.jsp /style.css /pathb /pathb1 /index.jsp ... /pathx /index.jsp how can create mapping in spring boot such as:
/pathamaps/patha/index.jsp,/pathb/pathb1maps/pathb/pathb1/index.jsp- etc.
essentially, uri has no file extension specified (e.g. /patha/style.css should excluded mapping) should redirected uri has index.jsp appended. i'd apply mapping general rule, don't have specify every possible path should mapped this.
Comments
Post a Comment