Re: Web.xml file location for Servlet initialization.

Kai Ojansuu <[email protected]>
Newsgroups gmane.comp.java.sun.servlet
Message-ID <[email protected]>
On Sun, 24 Aug 2003, Niketu Parekh wrote:
NP> public class HelloWorldExample extends HttpServlet {....}
NP> Web.xml file -
NP> ============
NP> <?xml version="1.0" encoding="ISO-8859-1"?>
NP>
NP> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
NP> Application2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
NP>
NP> <web-app>
NP> ...
NP>   <servlet-class>
NP>    coreservlets.ShowMessage
NP>   </servlet-class>
NP> ...
NP>   <init-param>
NP>    <param-name>
NP>     message
NP>    </param-name>

Those init-params are for coreservlets.ShowMessage, not for HelloWorldExample ?

-Kai

___________________________________________________________________________
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.