struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "C N Davies" <...@cndavies.com>
Subject RE: relative path and absolute path
Date Fri, 11 Sep 2009 12:11:56 GMT
Relative path is a path relative to the current directory, for instance if
you home directory was c:\temp and you wanted to use an absolute  path to
the "documents" subdirectory of c:\temp you would use c:\temp\documents, a
relative path would be "documents" assuming your current working directory
was already c"\temp  making an absolute path of c:\temp\documents.

Works similarly in http / ftp etc.

Chris

-----Original Message-----
From: Martin Gainty [mailto:mgainty@hotmail.com] 
Sent: Friday, 11 September 2009 8:00 PM
To: Struts Users Mailing List
Subject: RE: realtive path and absolute path


A full path or absolute path is a path that points to the same location on
one file system regardless of the working directory or combined paths. It is
usually written in reference to a root directory.

A relative path is a path relative to the working directory of the user or
application
relativePath for webapps is path from the current context

http://en.wikipedia.org/wiki/Path_%28computing%29

(i dont know what a realtive path is)
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
dient lediglich dem Austausch von Informationen und entfaltet keine
rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire
informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie
de ceci est interdite. Ce message sert à l'information seulement et n'aura
pas n'importe quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.




> Date: Fri, 11 Sep 2009 15:06:15 +0530
> Subject: Re: realtive path and absolute path
> From: srinus198@gmail.com
> To: user@struts.apache.org
> 
> Thanks suhas
> 
> for more clarification :
> 
> Say I had deplayed a application nammed test in jboss
> 
> so there i have one link:
> 
> http://localhost:8080/test/jsp/abc.jsp
> 
> for this what is the relative path and the absolute path.
> 
> regards
> Sunil
> 
> 
> 
> On Fri, Sep 11, 2009 at 2:19 PM, suhas kokal <kokalsuhas@yahoo.com> wrote:
> 
> > hi,
> >
> > Absolute path starts from /ContextName/...
> > Relative path does not start from / but with the URL u declare in the
> > configuration path
> >
> > Thanks
> > Suhas Kokal
> >
> > --- On Fri, 11/9/09, srinu salnki <srinus198@gmail.com> wrote:
> >
> >
> > From: srinu salnki <srinus198@gmail.com>
> > Subject: realtive path and absolute path
> > To: user@struts.apache.org
> > Date: Friday, 11 September, 2009, 2:15 PM
> >
> >
> > Hi
> >
> > I am new to struts..pls.can u tell me this difference.
> >
> > what is the difference b/w relative path and absolute path.
> >
> > srinu
> >
> >
> >
> >      Love Cricket? Check out live scores, photos, video highlights and
> > more. Click here http://cricket.yahoo.com

_________________________________________________________________
Hotmail® is up to 70% faster. Now good news travels really fast. 
http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:W
M_HYGN_faster:082009


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message