File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes Relative URL specification Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Relative URL specification" Watch "Relative URL specification" New topic

Relative URL specification

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
IN the jsp spec with the above heading .....there are contradictory statements regarding usage of "/" under page-relative paths...
can someone explain..
Gerd Rosarius

Joined: Feb 13, 2002
Posts: 24
Can you specify your question a little more, maybe I am able to give you an answer.

<a href="" target="_blank" rel="nofollow">Brains and Bytes</a> − eTechnology- and Marketing-Services
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
A page relative path is a path that does not start with a “/”.
In both cases the current page (or file) is
denoted by some path starting with “/” that is then modified by the new
specification to produce a path starting with “/”.
dont the stmts contradict???
[ March 13, 2002: Message edited by: shan java ]
I agree. Here's the link:
subject: Relative URL specification
It's not a secret anymore!