aspose file tools*
The moose likes Servlets and the fly likes plz guide me- one-instance-per-servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "plz guide me- one-instance-per-servlet" Watch "plz guide me- one-instance-per-servlet" New topic
Author

plz guide me- one-instance-per-servlet

Amit Madan
Ranch Hand

Joined: Dec 20, 2000
Posts: 32
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
haitham raik
Greenhorn

Joined: Aug 08, 2004
Posts: 17
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>


Haitham Raik<br />SCJP 1.4 SCWCD 1.4 SCBCD 1.3 SCJA 1.0
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: plz guide me- one-instance-per-servlet