spring - Block specific HTTP Get Requests in Tomcat -



spring - Block specific HTTP Get Requests in Tomcat -

i have mapping url of "/" , controller

@requestmapping(value = {"/index","/"}) public modelandview displayslideshow() { homecoming new modelandview("index"); }

but because of mapping requests /... or /? or /.dfdhj serves homepage. read spring tries match best available url.

is there way prevent such mapping ?

spring http tomcat get

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -