Win a copy of Learning OpenStack Networking: Build a solid foundation in virtual networking technologies for OpenStack-based clouds this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Q4 page38 authore:charles Lyons  RSS feed

 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
An example of a context-relative URL is

A) index.jsp
B) ../documents/mydoc.pdf
c) context/images/logo.gif
d) /catalogue/prices.xml
e)./downloads/update.exe

Correct Answer is D
As per i think Context-relative always start from foward slash(/) and here is only D option follow this Rule.
It is only this region option D is correct or it's haveing othere region.
If it's Having other region then any one please explaine me?
Thanks in Advances.....
 
Bartender
Posts: 4050
54
Chrome Fedora Hibernate
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For a context-relative URL it should starts with a forward slash (/). Remember context is the root of the web application.
[ December 04, 2008: Message edited by: Vijitha Kumara ]
 
vipin jain
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Vijitha..

One more question
if the question is what is example of Relativre URLs?
Then what will correct answere?

your every help would be Appreciated......
 
Author
Ranch Hand
Posts: 836
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

if the question is what is example of Relativre URLs?
Then what will correct answere?

See the explanation of the answer for Q.4 on p.40... it explains that every other URL given is a relative URL.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!