jQuery in Action, 2nd edition*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes path doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "path doubt" Watch "path doubt" New topic
Author

path doubt

dolly shah
Ranch Hand

Joined: Jun 18, 2007
Posts: 383
Can anyone please explain what is contextpath+servletpath+pathinfo with example?


SCJP-1.5<br />SCWCD-1.4
Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
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.


Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
dolly shah
Ranch Hand

Joined: Jun 18, 2007
Posts: 383
Thanks Remko,
But your given link is not working.
dolly shah
Ranch Hand

Joined: Jun 18, 2007
Posts: 383
Thanks Remko,
But your given link is not working.
Remko Strating
Ranch Hand

Joined: Dec 28, 2006
Posts: 893
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: path doubt