• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

url-pattern question

 
Mamadou Touré
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,

In the DD (web.xml), are the following 2 mapping the same ?

1 - <url-pattern>/*.do</url-pattern> (with slash)
2 - <url-pattern>*.do</url-pattern> (without slash)

otherwise, what's the difference ??

Regards
 
cesar valencia
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
while it might work depending on the container, /*.do is not a valid mapping
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic