You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mikolaj Rydzewski <mi...@ceti.pl> on 2011/01/20 09:37:06 UTC

Re: HTTP Status 404 - /stcepmweb/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet

 On Wed, 19 Jan 2011 23:56:27 -0800 (PST), Amol Puglia 
 <am...@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 <mi...@ceti.pl>

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


Re: HTTP Status 404 - /stcepmweb/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet

Posted by Mark Thomas <ma...@apache.org>.
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 <mi...@ceti.pl> wrote:
> 
> From: Mikolaj Rydzewski <mi...@ceti.pl>
> Subject: Re: HTTP Status 404 -  /stcepmweb/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet
> To: "Tomcat Users List" <us...@tomcat.apache.org>
> Date: Thursday, January 20, 2011, 2:07 PM
> 
> 
> On Wed, 19 Jan 2011 23:56:27 -0800 (PST), Amol Puglia <am...@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 <mi...@ceti.pl>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 
> 
>       


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


Re: HTTP Status 404 - /stcepmweb/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet

Posted by Amol Puglia <am...@yahoo.com>.
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.


Now we are successfully able to upload the file.

Thanks once again.


--- On Thu, 1/20/11, Mikolaj Rydzewski <mi...@ceti.pl> wrote:

From: Mikolaj Rydzewski <mi...@ceti.pl>
Subject: Re: HTTP Status 404 -  /stcepmweb/servlet/com.stc.ePM.webint.ReceiveFileUploadServlet
To: "Tomcat Users List" <us...@tomcat.apache.org>
Date: Thursday, January 20, 2011, 2:07 PM


On Wed, 19 Jan 2011 23:56:27 -0800 (PST), Amol Puglia <am...@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 <mi...@ceti.pl>

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