Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

path doubt

 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone please explain what is contextpath+servletpath+pathinfo with example?
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.wilhelmtell.nl/wtell/testservlet/index.jsp


Contextpath = /wtell
Servletpath = /testservlet
PathInfo = /index.jsp


Contextpatah is servlet context
Servletpath is mapping of the servlet.
path info the remaining part.
 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Remko,
But your given link is not working.
 
dolly shah
Ranch Hand
Posts: 383
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Remko,
But your given link is not working.
 
Remko Strating
Ranch Hand
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're right it isn't a good link. It was meant to be an example. I didn't add the code like a link for linking to something.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic