• 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

How Servlet Container locates servlet ?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
How Servlet Container locates servlet, in case multiple servlets with different names are present. please give me details.
Regards
Raghu.
 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

whenever u r going to run any servlet first u should place that class file in WEB-INF\classes folder irrespective of server this is the common tree in every server. We will register the servlet class name in web.xml file, there servlet container searched for realted class file in classes folder and their respective package folder like this container knows the servlet class file.
 
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
you might get better responses if you use a form of English that people can actually understand.
Punctuation, proper spelling (you are instead of "u r", as soon as I see things like that I stop reading and many with me), proper placement of questions (this is definitely NOT a JSP question), etc. etc. all help too.

As to your question, it's defined in the web application configuration contained in the relevant web.xml file.
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Moving to the Servlets forum.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For the true and correct details of the servlet API - why not read the servlet API?
From this Sun web site you can download the authentic material.
Bill
(I agree with Jeroen - you are not being charged by the character here - why not write complete sentences? Think of it as practice for your next job application.)
reply
    Bookmark Topic Watch Topic
  • New Topic