File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Browser support for uploading file" Watch "Browser support for uploading file" New topic
Author

Browser support for uploading file

Prabhat Kumar N
Greenhorn

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


Hi,

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
Marshal

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


Ping & DNS - updated with new look and Ping home screen widget
 
Consider Paul's rocket mass heater.
 
subject: Browser support for uploading file
 
Similar Threads
unable to forward using jsp : forward
Strange Behavior of JSP
values are not getting transferred from one servlet to another servlet
Firefox doesnt find my File : Beer Selection Problem
Opening pdf file using jsp