my dog learned polymorphism*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Relative URL specification" Watch "Relative URL specification" New topic
Author

Relative URL specification

Anonymous
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
Greenhorn

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


<a href="http://www.brainsandbytes.de" target="_blank" rel="nofollow">Brains and Bytes</a> − eTechnology- and Marketing-Services
Anonymous
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: http://aspose.com/file-tools
 
subject: Relative URL specification
 
Similar Threads
Difference between real path and virtual path
How do I get the relative path if the user selects a file in a JFileChooser?
Javascript not executing
class.getResource()
Read Values in Struts Config