Hi, I am still have the same error :
Error: 503
Location: /fvote/servlet/fastvote
java.io.FileNotFoundException: /WEB-INF/fv.properties (The system cannot
find the path specified)
Service is permanently unavailable
the web.xml is like this :
.................
<servlet>
<servlet-name>fastvote</servlet-name>
<servlet-class>com.virtua.fv.FastVoteServlet</servlet-class>
<init-param>
<param-name>config.file</param-name>
<param-value>/WEB-INF/fv.properties</param-value>
</init-param>
</servlet>
...............
-
properties in web.xml ?? (2 messages)
- Posted by: majid abdel
- Posted on: June 19 2001 11:07 EDT
Threaded Messages (2)
- properties in web.xml ?? by Shahzad Masud on June 20 2001 01:11 EDT
- properties in web.xml ?? by majid abdel on June 20 2001 11:03 EDT
-
properties in web.xml ??[ Go to top ]
- Posted by: Shahzad Masud
- Posted on: June 20 2001 01:11 EDT
- in response to majid abdel
Hello,
Please do the following ,
- Check for the path you have specified in the web.xml ( i.e /Web-inf/application_properties ).
- Try to view the properties and set it using some web server ( Like , Servlet Exec 3.1 ) ..
I am currently using ServletExec 3.1 and It is running fine. Here is a sample code from web.xml I think this could give you lots of help. I have generated this code through the ServletExec 3.1 webserver.
////////////////
.....
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/config.xml</param-value>
</init-param>
<init-param>
<param-name>application</param-name>
<param-value>Resources.ApplicationResources</param-value>
</init-param>
<init-param>
<param-name>validate</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
........
////////////////
Now what you have to do is follow up with this ..
I think this would help you a lot..
Regards,
Shozi -
properties in web.xml ??[ Go to top ]
- Posted by: majid abdel
- Posted on: June 20 2001 11:03 EDT
- in response to Shahzad Masud
I am using tomcat321, and I still have the same error:
Error: 503
Location: /fvote/servlet/fastvote
java.io.FileNotFoundException: /WEB-INF/fv.properties (The system cannot find the path specified)
Service is permanently unavailable