• Post Reply Bookmark Topic Watch Topic
  • New Topic

Directory match

 
Harshana Dias
Ranch Hand
Posts: 352
  • 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: 9597
36
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/...
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!