Hmmm, not really a JSP question. Not being sure which API is best used to inspect image files, I'm going to move this to 'Other Java APIs' and we'll see if we get any hits there. bear
I am replying to myself . This works: import java.awt.Image; import javax.swing.ImageIcon; ... Image image=new ImageIcon("u.jpg").getImage(); int qb; qb=image.getWidth(null); , but I am not sure that it will work everywhere. Your opinion? Thank you.