This week's book giveaway is in the Agile and other Processes forum. We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line! See this thread for details.
Hi, I have a question about the deployment descriptor. Say, <servlet name>this</servlet name> <servlet class>thisServlet.class</servlet class> I don't understand what this does. Do we now call "http://localhost:8080/servlet/this" instead of "http://localhost:8080/servlet/thisServlet"?
William Brogden
Author and all-around good cowpoke
Rancher
Joined: Mar 22, 2000
Posts: 12268
1
posted
0
Essentially, yes - that set of tags establishes a name that the server will use and relates it to a servlet class. You should put the servlet class in a package to avoid confusion. Like I keep saying, download the Java Servlet API from java.sun.com and study it. Bill
p.s. to William. The API is not the easiest thing to find things in sometimes. And I have not been able to find how to write XML deploy descriptors in the servlet API. Could you tell *me* the page it's on?