File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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.
 
Don't get me started about those stupid light bulbs.
 
subject: path doubt