• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic