On 20/01/2011 09:10, Amol Puglia wrote:
> Hello Mikolaj,
> 
> Thanks a lot for your quick response.
> 
> I have uncommented the servlet mapping in web.xml in conf directory of tomcat 
> and it has resolved our issue.

If you have uncommented the invoker servlet I trust you have read the
warnings and are confident you haven't just opened up a massive security
hole.

It would have been much safer to do something like:
<servlet>
  <servlet-name>ReceiveFileUploadServlet</servlet-name>
  <servlet-class>com.stc.ePM.webint.ReceiveFileUploadServlet</servlet-class>
</servlet>
<servlet-mapping>
    <servlet-name>ReceiveFileUploadServlet</servlet-name>

<url-pattern>/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet</url-pattern>
</servlet-mapping>

Mark

> 
> 
> Now we are successfully able to upload the file.
> 
> Thanks once again.
> 
> 
> --- On Thu, 1/20/11, Mikolaj Rydzewski <m...@ceti.pl> wrote:
> 
> From: Mikolaj Rydzewski <m...@ceti.pl>
> Subject: Re: HTTP Status 404 -  
> /stcepmweb/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Date: Thursday, January 20, 2011, 2:07 PM
> 
> 
> On Wed, 19 Jan 2011 23:56:27 -0800 (PST), Amol Puglia <amolcpug...@yahoo.com> 
> wrote:
> 
>> I am having one application deployed on tomcat. The entire
>> application is working fine.
>>
>> But one of the functionality in the application ie. file upload is
>> not working.
> 
> You should rather contact your application's vendor for help.
> 
>> Please guide me to resolve the issue.
>>
>> Apache version is 5.5.9
>>
>> JAVA Version is 1.4.2_02
> 
> I see you're into oldies-goldies :-)
> 
>> HTTP Status 404 -
>> /stcepmweb/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet
> 
> Please read about invoker servlet. It's disabled by default. So I guess you 
> were never able to upload files.
> 
> -- Mikolaj Rydzewski <m...@ceti.pl>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
> 
> 
> 
> 
>       


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

Reply via email to