I would like to render a servlet to serve requests that include an "application" and ends in * .html as follows.
<url-pattern>/app/*.html</url-pattern>
but when the application starts, it causes an error
java.lang.IllegalArgumentException: Invalid <url-pattern>
/app/*.html in servlet mapping
please help me display this. And please provide me with links where I can learn about this rule and URL mapping rules.
source
share