Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / February 2007

Tip: Looking for answers? Try searching our database.

context-root, Application Name, URL Mapping

Thread view: 
MattC - 07 Feb 2007 19:27 GMT
I am working in an Oracle app server environment and am a little
unclear on the relationship between the context-root, the application
name and the URL mapping.

Can someone tell me how these 3 are related?

Thanks,
Manish Pandit - 08 Feb 2007 21:12 GMT
> I am working in an Oracle app server environment and am a little
> unclear on the relationship between the context-root, the application
[quoted text clipped - 3 lines]
>
> Thanks,

Not sure about Oracle App Server to be specific, but I believe that
under the hood it follows the Standard Servlet Spec.

For a URL like  http://localhost:8080/myApp/somePage.do

Protocol = http
Server/Host = localhost
Server Port = 8080
Context Name/Root = /myApp (It *must* start with a / followed by a
string).
Application Name = Arbritrary, set in web.xml. It shows up in the
admin console of the app server.
URL Mapping = Where does a URL matching  *.do ends up. This is
specified in web.xml against the URL pattern, and a servlet to handle
that pattern.

Hope this helps!

-cheers,
Manish


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.