Difference between URL and URI
hi,
i have heard abt url and uri.but i don't know the exact use of URI.if anybody knows, plz clear my doubt as soon as possible.give the detailed description about URI.
The main difference between URI and URL is,
URI is only for identifying the resource ,and
URL is for locating/ finding resources.
Similar Messages
-
What is the diffrence between URL and URI
Hi all
Can any one tell me the difference between URI and URL . I have got a doubt that since somany days what exactly the URI and URL. Can anyone tell with example .
ThqPlease go through this url
http://www.onjava.com/pub/a/onjava/excerpt/jvntwkprg_3e/ -
Hi guys
what is the difference between URL and URI
give me an examplewhat is the difference between URL and URI As we know /OriginatingRequest is instance of DynamoHttpServletRequest class
We are using these in jsp page as /OriginatingRequest.requestURL returns current URL:
Reconstructs the URL the client used to make the request. The returned URL contains a protocol, server name, port number, and server path, but it does not include query string parameters.
http://docs.oracle.com/cd/E23507_01/Platform.20073/apidoc/atg/servlet/MutableHttpServletRequest.html#getRequestURL()
and /OriginatingRequest.requestURI:
Returns index.jsp page(page that set in web.xml as welcome tag)
http://docs.oracle.com/cd/E23507_01/Platform.20073/apidoc/atg/servlet/DynamoHttpServletRequest.html#getRequestURI()
-RMishra
Edited by: RMishra on Feb 25, 2013 10:44 AM -
Difference between urn and url
what's the difference between urn and url?
<b>What is an URL</b>
An Uniform Resource Locator (URL) is the term used to identify an Internet resource, and can be specified in a single line of text.
<b>What is an URN</b>
An Uniform Resource Name (URN) is the term used to identify an Internet resource, without the use of a scheme, and can be specified in a single line of text.
<b>What is an URI</b>
An Uniform Resource Identifier (URI) is used by a browser to identify a single document, and it too can be specified in a single line of text
<b>The general form of an URL has four parts</b>
A scheme followed by a colon.
Invokes a TCP/IP-based application level protocol
Schemes are: http, https, ftp, news, mailto, file, telnet.
<b>A server name.</b>
A // followed by the host name or IP address of the server
Not needed if the server is the default
news server
mail server
<b>An optional port number. Standard or default port numbers are:</b>
ftp *
ssh 22
telnet 23
smtp 25
gopher 70
http 80
nntp 119
SSL 443
<b>A path.</b>
Consisting of folders and/or files.
May include a file extension which identifies the type of document.
May also include a QUERY_STRING with arguments.
Ftp uses port 20 for data and port 21 for flow control.
<b>DIFFERENCE BETWEEN URN & URI</b>
The idea is that a URL is a mechanical link to a resource's location, where it can be downloaded. For this reason, a URL contains a hostname and a local part, all of which can be resolved anywhere on the Internet.
What a URN tries to do is different. It tries to give a description of a resource without actually pointing at it. For example:
urn:isbn:90-365-17273
<b>URI:</b> is a string that identifies any resource. Indentifying the resource does not necessarily mean we can retrieve it. URI is a superset of URL and URN.
files/reports/marketing/report.html
<b>URL:</b> URI that specify a common Internet protocol such as HTTP or FTP are also called URLs. URL is an informal term an is not used in technical specifications.
http://www.foo.com/files/reports/marketing/report.html
<b>URN:</b> A URN is an identifier the uniquely indentifies a resource but does not specify how to access that resource.
ISBN: 1-930110-59-6
I hope it helps
Best Regards -
Difference between url-pattern / and /* ?
There appears to be a subtle difference between:
<url-pattern>/</url-pattern>and
<url-pattern>/*</url-pattern>Both seem to send all requests through the servlet I'm aming for, but the /* on messes up forwards to JSP files. My app works as I expect when I use the "/" version (I don't need suffixes or prefixes since I've written some routing code). I'm wondering if they are supposed to be behave differently or if my Tomcat container has a little bug I'm exploiting wrongly?
If you use the "/" version, would you expect a URL like this to map to it....
http://mysite.com/
... and also ones like this...
http://mysite.com/some/arbitrary/path/here
?Same question appears here:
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=7&t=019661
And with lot of discussion. -
Difference between GET and URL Rewriting in Servlets
What is the difference between GET and URL Rewriting in Servlets?.Please illustrate with an example.
Thanks for your reply gimbal.
GET appends query string at the end of the URL. URL rewriting also does the same thing. It also appends query string right?. Then what is the difference between two. I have this question in my mind for long time.To my surprise an interviewer asked this question in an interview also. -
Difference between sendRedirect and RequestDispatcher?
Difference between sendRedirect and RequestDispatcher?
I have a situation of needing to redirect a request to a URL that is outside of the container. The scenario is the following, we have a simple logging in servlet that takes some POST parameters (username, password, and other values.) Depending on the username and password, the logon request along with all its POST parameters need to be redirected integrally to another machine. How do i do a redirect with all my parameters intact? sendRedirect does not seem to have any (visible to me) mechanism to do this. We cannot send them on the URL as this will reveal things too easily to our users and we don't want them to bookmark the resulting page.
Thanks for any help,
t -
Difference between forward and redirect
difference between forward and send redirect
+ a Redirect will change the URL in the browser, whereas a forward will not.
+ a Redirect can be any URL, whereas a forward has to be directed to a resource within the container,
+ a Redirect MUST be an absolute URL (though the Servlet functions will do this for you).
+ a Redirect, being a new request, triggers filters, whereas a forward does not. -
Differences between Monitor and Decrypt actions in Decryption Policies
Hi Everybody,
Currently I'm working in my first WSA (S170) implementation and some questions has popped up while I was configuring the Decryption policies. The main question here is:
What are the differences between "monitor" and "decrypt" in the URL Filtering options. As I understand the "decrypt" action allows the WSA to decrypt the packet and treats it like a plain HTTP packet applying the Access Policies, malware inspection and so on. Then I do not really know what the Monitor option does, I'm assuming that it does not decrypt the packet and only checks the destination URL and to allow or not the connection.
Thanks in advance for your collaboration.
Jose M. Cortes H.If you set it for Decrypt, it always decrypts stuff in that category.
If you set it to monitor, then other criteria in the policy are used for whether to decrypt or not, such as Web Reputation...
Here's the flow, which I pulled from the online help:
https://wsaip:port/help/wsa_help/index.html?Decryption_policies11.html#wp1208329 -
Differences between webservice and proxy
Hi guys.
Which are the differences between webservices and proxys?
If I have a XI adapter (proxy) or Soap Adapter in Pi in both a Proxy Abap is created in SEECC to consume the service so I cant see the differences...
RegardsIf I wanted to consume a webservice exposed in Pi by a Sender SOAP Sender, what would I have to do?
Nothing exceptional.....just define a message structure in PI....create a message interface....generate a WSDL for this Message Interface.....use the URL from this WSDL to send message.....it is a normal SOAP --> XI scenario.....many references are readily available on How to do this.
Regards,
Abhishek. -
Difference between concat and concatenation operator ||
Hi,
Most of us may think there is no difference between CONCAT and ||
By looking in the doc, I can read
This function is equivalent to the concatenation operator (||). The function is useful when there are spaces in the values to be concatenated. The concatenation operator does not permit spaces.
<URL:SQL Reference>
I cannot find a query with a difference, can you?
SQL> select 'a '||' b',concat('a ',' b') from dual
'A'||'B' CONCAT('A','B')
a b a bThanks for feedback
LaurentThanks APC, this is ok, I understand the platform independance of concat over || . It is also mission impossible to type || on some prehistoric/foreign keyboards/terminals.
I will write in the docu feedback forum that
CONCAT: The concatenation operator does not permit spaces.
concatenation operator: Trailing blanks in character strings are preserved by concatenation
are not clear, or even contradicting themselves.
Best regards
Laurent -
What is the main difference between BPEL and ESB
Hi all,
I am making use ESB in my application .Where the my client application calls ESB and inturn the ESB calls the BPEL process .
I want to know the differences between BPEL and ESB,I came to know that ESB can do messaging and routing ,where my BPEL process can also do the same thing .
I came to know form a vendor that ESB is used for connecting to multiple end points ,where as my BPEL process can also do this.
SO what is main purpose of using ESB ?
Cheers,
Kalyan.
Message was edited by:
pattiHi,
Look for the blog entry dated 1st october 2007.
URL:
http://abhishek-soablog.blogspot.com
Cheers,
Abhi... -
Could any one tell me what is the difference between swfloader and module loader?
Hi All,
Could any one tell me what is the difference between SWFLoader and Module Loader in Flex3 in detail?Hi,
ModuleLoader is a kind of strange API that is really just intended to look like SwfLoader for modules that contain a single visual component, and hides most of the module loading infrastructure, which is all about class factories.
What I mean by "only loaded once" is that if you have several places in the code that call the ModuleManager.getModule("url").load() call, it will only ever get loaded over the wire and interpreted once, subsequent "loads" will just re-dispatch pseudo-load events to the new client. In other words, the class factory is a singleton for a given url. Unloading is a totally different story. As you note, not everything is truly unloadable, because there may be lots of references to stuff in
the module that will keep it alive and un-GC'ed.
I suggest playing with the low-level API so that you understand the backing implementation, and this should help you understand the limits of ModuleLoader.
The main difference between modules and applications is that modules have lower overhead, and they only ever get loaded once, no matter how many times you load them. If you're using the ModuleLoader API, keep in mind that you're losing about half the functionality of the module system. I will assume that you are, because otherwise it would be obvious where to expose methods. You might want to play around with the lower level ModuleManager API just to get a hang of what's going on - ModuleLoader is a pretty thin veneer over the lower API.
Basically, what you want to do is to have your module implement an interface, say IModuleWhatever.
Also try and refer to this link which was previously discussed in this forum..
http://forums.adobe.com/message/74404
Thanks,
Bhasker -
Difference between party and service
Hi,
I know when we are going to party and service (Normally party means. when we are doing Business to Business ) but what is exact difference between party and service.. and if possible definitions also..
Thanks
Babu.Babu,
Refer to url http://help.sap.com/saphelp_nw04/helpdata/en/87/1d6e3fefa13042e10000000a114084/frameset.htm
An excerpt
Services without a party are typically used when configuring company-internal processes. Parties (with assigned services) are typically used when configuring cross-company processes.
Also refer to one of your previous forum questions and my response Re: Business System and Business Service Posted: Nov 28, 2007 4:31 PM in response to: BABU
You usually use business system services when configuring internal company processes.
You usually use business services when configuring cross-company processes. In this case, you only make your interfaces known to the business partners involved and either do not make any details about your own system landscape available, or only specific details.
Hope this helps,
Mike -
What's the differences between rsp4 and rsp4+
I want to know the differences between rsp4 and rsp4+
According to the included URL, there is not a big deal of difference between the two devices. Here's a quote:
The RSP4+ is an enhanced version of the RSP4 with larger default program memory (64 MB), Error Correction Code (ECC) memory protection, and compatibility with Cisco IOS® Software releases that support the current RSP4. This additional functionality is included with no increase in price, further enhancing the value of Cisco 7500 Series routers.
http://www.cisco.com/en/US/partner/products/hw/routers/ps359/prod_bulletin09186a00800886e1.html
Hope this helps,
Maybe you are looking for
-
How to get data in a line in reporting from 2 data sources
Hi my infocube gets data from 2 datasources and once the data is loaded into infocube , its show the data from 1st datasource in one line and shows data from 2nd datasource in second line my requirement is to show the data in reporting in a single li
-
LabVIEW version 8.6.1
Can I run programs written in version 8.6.1 on version 8.6? Thanks.
-
I want to use a FM radio app to Airplay music through my Apple TV (by using the synchronizing function). Works, but after some minutes, the Airplay audio output setting switches back to iPad. Why? Solution? Why don't use iTunes? Because this just nee
-
So basically my iphone 4 was updated to ios 6 and worked fine but somehow now its in recovery mode... This iphone is/was not jailbroken. i tried clicking on restore with itunes but it says "The iphone could not be restored. This device is not eligibl
-
...and run the script from here. I don't have any third party plugins or scripts. I'm using defaut workspaces. Anyone have suggestions? Windows says dvaui.dll is the problem. Anyone know how to replace repair this?