> -----Messaggio originale-----
> Da: Aline [mailto:[EMAIL PROTECTED]]
> Inviato: gioved� 14 marzo 2002 14.05
> A: Tomcat Users List
> Oggetto: problem with context-param in web.xml
>
>
> Hello,
>
> I work with Tomcat 4.0 and I'd like to set a context-param in
> my web.xml
> file of my web application.
> So I do this :
>
> <web-app>
>
> <servlet>
> <servlet-name>add</servlet-name>
> <servlet-class>AddServlet</servlet-class
^^^^^^^^
perhaps an angular bracket
is missing
> </servlet>
>
> <context-param>
> <param-name>logFile</param-name>
>
> <param-value>c:/jakarta-tomcat-4.0.1/webapps/myWebapps/file</p
> aram-value>
> </context-param>
>
> <error-page>
> <exception-type>javax.servlet.UnavailableException</exception-type>
> <location> /unavailable.html </location>
> </error-page>
>
> </web-app>
>
>
> But when I declare my context-param and then when I restart
> my server, I
> have a SAXException whitch explain me that the web.xml file
> is not correct.
>
> Can anyone help me please?
>
> thanks.
> Aline
Best regards
Paolo
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>