• 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
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Liutauras Vilda
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Mikalai Zaikin
  • Himai Minh

plz guide me- one-instance-per-servlet

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i have read this in servletprogramming book.
" each registered name for servlet is associated with one instance of the servlet."
plz guide me in details what is mean by "registered name " .
thx
 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the registration here means that the servlet is declared in the web.xml as the following:
<web-app>
...
<servlet>
<servlet-name>servlet name</servlet-name>
<servlet-class>servlet.name</servlet-class>
</servlet>
 
Ranch Hand
Posts: 2874
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by haitham raik:
I think the registration here means that the servlet is declared in the web.xml as the following:
<web-app>
...
<servlet>
<servlet-name>servlet name</servlet-name>
<servlet-class>servlet.name</servlet-class>
</servlet>



right.
just attested haitham's response, now you can take it for sure.
cheers.
 
reply
    Bookmark Topic Watch Topic
  • New Topic