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

Servlet Mapping - Any Idea???

 
Liyaquat Ali
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Suppose a servlet has been mapped to /star/*

what will HttpRequest.getPathInfo return when invoked using the URL:-

/star/something-else


and just

/star/
[ March 07, 2006: Message edited by: Liyaquat Ali ]
 
Liyaquat Ali
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anybody have any idea???
 
Narendra Dhande
Ranch Hand
Posts: 951
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

/star/something return /something.
/star/ return / (not sure / or empty)

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
/star/ return / (not sure / or empty)


If star is the webapp directory, returns null
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic