Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Directory match

 
Harshana Dias
Ranch Hand
Posts: 348
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey,



I have make an request like,
http://localhost:8084/myTest/ssss/ssw/Dude/sss

Those ssss/ssw/sss are fake direcotries..but since i have Dude in the request url i should be able to access the Dude servlet by directory match right?

But it says requested resource is not available? why is it please?

Thank You.
 
Ankit Garg
Sheriff
Posts: 9580
33
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<url-pattern>/Dude/*</url-pattern> will not match any arbitrary text before /Dude. It will only allow arbitrary text after /Dude/...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic