• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

URGENT HELP IN WEBSPHERE4.0

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1.WHILE DEPLOYING SERVLETS WE WILL GIVE CONTEXT ROOT.
What actually is the context root.
for eg : i have given context root as webapp/testexample
whats the meaning of this.
Does it create a folder as webapp
2.WHAT IS THE USE OF EAR/WAR FILES INSTEAD OF JAR FILES
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Krishna,
The context in servlets is used as an appender in URL.
If you give your context - root as webapp/examples and your servlet name is say Login_Servlet, then in the URL you invoke the servlet as http://locanhost/webapp/example/Login_Servlet.
It does not creae a directory in webapp.

------------------
 
j krishnan
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IS IT NECESSARY THAT U HAVE TO GIVE WEBAPP/EXAMPLES INSTEAD OF THAT CAN WE GIVE KRISHNA/EXAMPLES OR ANYTHING ELSE WHICH IS IRRELEVANT
 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you can give any name provided u access ur webpages and servlets using the same name like
context root -- /kiran
http://localhost/kiran/home.html
 
I carry this gun in case a vending machine doesn't give me my fritos. This gun and this tiny ad:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic