Sunday, November 13, 2011

Spring intercept-url patterns "/** Vz /*"

http://stackoverflow.com/questions/5240794/spring-intercept-url-patterns : "Melv" says that  the difference between /* and /** is as follows
Eg:

Main.java
directory/Main.java
/*: Files only at the / directory level are matched. Contents of directories are not processed. Thus only Main.java is returned.
/**: Pattern matcher recurses into directories also. Thus /**/*.java returns the directory/Main.java too along with /Main.java.

No comments:

Post a Comment