I am using the following servlet-mapping in my web.xml
file:
<servlet>
<servlet-name>PostController</servlet-name>
<servlet-class>com.webcodei.controller.PostController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>PostController</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
To do some kind of a search. ex:
http://www.myweb.com/The search string here
But the problem is that CSS, JS and Images are treated like a search request.
There are any patterns that strip out *.css, *.js, *.gif and etc, so the requests don't need to pass through my controller?
Thank you so much, bye bye!