Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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: 4044
47
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.
 
I promise I will be the best, most loyal friend ever! All for this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!