tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anto Paul <antop...@gmail.com>
Subject Re: Download file Problem - 404 error
Date Tue, 31 Jan 2006 04:56:46 GMT
On 1/31/06, DEEPA M N <deepu_1005@yahoo.co.in> wrote:
> Hi Vineesh,
>   The class name is DownloadFiles.class
>   Pls let me know wat is access permissions of the class and tomcat.
>   I m posting my web.xml after including package.
>
>   <?xml version="1.0" encoding="ISO-8859-1"?>
>   <!DOCTYPE web-app
>     PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
>     "http://java.sun.com/dtd/web-app_2_3.dtd">
>   <web-app>
>   <display-name>Tomcat Documentation</display-name>
>   <description>
>      Tomcat Documentation.
>   </description>
>
>     <servlet>
>         <servlet-name>DownloadFiles</servlet-name>
>         <servlet-class>com.deepa.servlet.DownloadFiles</servlet-class>
>     </servlet>
>
>  <servlet-mapping>
>         <servlet-name>DownloadFiles</servlet-name>
>         <url-pattern>/servlet/DownloadFiles</url-pattern>
>     </servlet-mapping>
> </web-app>
>
>   Now wen i run the appln, I get error 500. Pls let me know where i hav gone wrong.


500 means internal server error. check the log files for the error and post it.


>   I believe there might be some silly mistake.
>   Always welcome ur help.
>   thank u
>   Regards
>   Deepa
>
>
> vineesh kumar <vineeshkumarpv@gmail.com> wrote:
>   Deepa,
> plz check the following things
> is ur class is public?
> whether the class name is DownloadFiles.class itself?
> also check the access permissions of the class and tomcat
> directory if ur on a X'nix machine
>
>
>
> ---------------------------------
>  Jiyo cricket on Yahoo! India cricket
>


--
rgds
Anto Paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message