• 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
  • Tim Cooke
  • Devaka Cooray
  • Ron McLeod
  • Jeanne Boyarsky
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Martijn Verburg
  • Frits Walraven
  • 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 love a woman who dresses in stainless steel ... and carries tiny ads:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic