Two Laptop Bag*
The moose likes JSP and the fly likes Browser support for uploading file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Browser support for uploading file" Watch "Browser support for uploading file" New topic

Browser support for uploading file

Prabhat Kumar N

Joined: Aug 12, 2009
Posts: 20
Hi there.. I m using a JSP for uploading a file. It works fine in most of the browsers except chrome and safari. What I mean is, the operation works fine, only the way of display isn't proper. Check out the images.

Now anyone has any idea how to display in chrome,safari as it is in firefox,ie8 ?? Here is my present code.
Nishan Patel
Ranch Hand

Joined: Sep 07, 2008
Posts: 684


I think you have to use this code

into some CSS.

Or make it align using DIV base with proper CSS. There are so many heck for different different browser and you have to use it for you code.

So make it proper align using different way.. using CSS or DIV...

Thanks, Nishan Patel
SCJP 1.5, SCWCD 1.5, OCPJWSD Java Developer,My Blog
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41034
What's wrong with the way it is displayed? Attempting to get pixel-for-pixel identical output on all browsers is futile.

Ping & DNS - my free Android networking tools app
I agree. Here's the link:
subject: Browser support for uploading file
Similar Threads
Firefox doesnt find my File : Beer Selection Problem
unable to forward using jsp : forward
values are not getting transferred from one servlet to another servlet
Strange Behavior of JSP
Opening pdf file using jsp