File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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: 689


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: 42965
What's wrong with the way it is displayed? Attempting to get pixel-for-pixel identical output on all browsers is futile.
I agree. Here's the link:
subject: Browser support for uploading file
jQuery in Action, 3rd edition