Don't forget that you must change the web.xml file inside your WEB-INF
directory, the one in /conf is just for shows.

Alex.

Kyle Robinson wrote:

> Take a look through the web.dtd file.  It has the specs for the tags.
> Here's an example I'm using (although I'm having trouble with the
> init_params...
>
> ---------BEGIN SNIPPET-----------
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
>
> <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
>     "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
> <web-app>
>     <session-config>
>         <session-timeout>
>             30
>         </session-timeout>
>     </session-config>
>
> <servlet>
>         <servlet-name>jspell</servlet-name>
>         <servlet-class>
>             com.wallstreetwise.app.jspell.domain.net.JSpellServlet
>         </servlet-class>
>         <load-on-startup>3</load-on-startup>
>         <init-param>
>                 <param-name>index</param-name>
>                 <param-value>SNDSPELL.JDX</param-value>
>         </init-param>
> </servlet>
>
> </web-app>
>
> ---------END SNIPPET-------------
>
> Does anyone know what the init-params are for things like if it's a bean,
> etc?
>
> Thanks,
>
> Kyle Robinson
> Systems Consultant
> Pangaea Systems Inc.
> (250) 360-0111
>
> -----Original Message-----
> From: Chahal Damendra [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 14, 2001 8:36 AM
> To: '[EMAIL PROTECTED]'
> Subject: configuring web.xml
>
> I am trying to run my own servlets that are placed in the appropriate
> directories (which are sub directories of Web-inf\classes). Can you advise
> on how to modify the web.xml file and where i can find information regarding
> the tag definitions
>
> Regards
>
>  Damendra
>
> ************************************************************************
> The information in this email is confidential and is intended solely
> for the addressee(s).
> Access to this email by anyone else is unauthorised. If you are not
> an intended recipient, you must not read, use or disseminate the
> information contained in the email.
> Any views expressed in this message are those of the individual sender,
> except where the sender specifically states them to be the views of
> The Capital Markets Company.
>
> http://www.capco.com
> ***********************************************************************
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to