You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tommy Pham <to...@yahoo.com> on 2008/07/31 18:33:31 UTC
Tomcat 6.0.16 serving 40K jpg files
Hi,
I just start learning Java programming a while back and doing some tutorials/learning trails at netbeans.org. One of the tutorial using Visual JSF, http://www.netbeans.org/kb/60/web/fileupload.html, I'm doing is not working as I think it should and I'm not getting any http error or Java exception. I can upload the image fine and it will display any jpg ~40k or less. If the image size is larger, it doesn't show. I tried to browse the 40k+ image directly instead of the image tag, it doesn't show also. Does anyone know why is this? I tried google for problem but unable to find any. The development platform is WinXP x64 JDK6 1.6.0_06, Tomcat 6.0.16. The default installation configurations have not been modified.
TIA,
Tommy
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6.0.16 serving 40K jpg files
Posted by Tommy Pham <to...@yahoo.com>.
Hi Markus,
--- On Thu, 7/31/08, Markus Schönhaber <to...@list-post.mks-mail.de> wrote:
> From: Markus Schönhaber <to...@list-post.mks-mail.de>
> Subject: Re: Tomcat 6.0.16 serving 40K jpg files
> To: users@tomcat.apache.org
> Date: Thursday, July 31, 2008, 1:28 PM
> Tommy Pham wrote:
>
> > http error or Java exception. I can upload the image
> fine and it
> > will display any jpg ~40k or less. If the image size
> is larger, it
> > doesn't show. I tried to browse the 40k+ image
> directly instead of
> > the image tag, it doesn't show also. Does anyone
> know why is this?
> > I tried google for problem but unable to find any.
> The development
> > platform is WinXP x64 JDK6 1.6.0_06, Tomcat 6.0.16.
> The default
> > installation configurations have not been modified.
>
> Although the limit being ~40k hints against this you might
> have run into
> https://issues.apache.org/bugzilla/show_bug.cgi?id=44494
> Try to run the webapp on Tomcat 6.0.18, which was released
> today and
> where the above bug should be fixed.
>
> Regards
> mks
>
Thanks for the reply. Yup, 6.0.18 works!! :)
Thanks again,
Tommy
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Tomcat 6.0.16 serving 40K jpg files
Posted by Markus Schönhaber <to...@list-post.mks-mail.de>.
Tommy Pham wrote:
> http error or Java exception. I can upload the image fine and it
> will display any jpg ~40k or less. If the image size is larger, it
> doesn't show. I tried to browse the 40k+ image directly instead of
> the image tag, it doesn't show also. Does anyone know why is this?
> I tried google for problem but unable to find any. The development
> platform is WinXP x64 JDK6 1.6.0_06, Tomcat 6.0.16. The default
> installation configurations have not been modified.
Although the limit being ~40k hints against this you might have run into
https://issues.apache.org/bugzilla/show_bug.cgi?id=44494
Try to run the webapp on Tomcat 6.0.18, which was released today and
where the above bug should be fixed.
Regards
mks
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org