I have an application called fvote under tomcat :
tomcat\webapps\fvote\WEB-INF\web.xml
tomcat\webapps\fvote\fvdata\fv.propertiesand when Invoke the servlet like
this :
http://mil2wwds10/fvote/servlet/fastvote?object=booths&message=LIST
I got this error :
Error: 503
Location: /fvote/servlet/fastvote
java.io.FileNotFoundException: fvdata/fv.properties (The system cannot find
the path specified)
Service is permanently unavailable
And here is the web.xml :
<?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>
<!-- Database Initialization Servlet Configuration -->
<servlet>
<servlet-name>fastvote</servlet-name>
<servlet-class>com.virtua.fv.FastVoteServlet</servlet-class>
<init-param>
<param-name>config.file</param-name>
<param-value>fvdata/fv.properties</param-value>
</init-param>
</servlet>
</web-app>
THanks
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets