Michael,
I'm still researching on the web and alot of what I am seeing
is that it is not possible. There is mention that this is strongly
controlled by the browser for security purposes, to prevent
malicious websites from uploading files on the client box
by just doing javascript hacks. Seems to make sense to me,
but if its true, its disappointing since its probably the only
button we can't replace with an image.
Dean
Michael McGrady wrote:
Dean A. Hoover wrote:
Michael McGrady wrote:
Hi, Dean,
I am a pretty meat and potatoes kind of genius. I need to solve one
thing at a time. So, right now I am going to stick with only the
image deal with file uploads. I have the following which works okay
with IE but not with Mozilla.
<form method='get' action='display_none.jsp'>
What does the jsp do? Are you sure that upload is really happening? I
think
in order for upload to occur the form has to have
enctype="multipart/form-data"
in it, doesn't it? That's what I've always done, but I learned it so
long ago that
I just cookbook it now.
I am not trying to make that part work right now, Dean. I am trying
to make the image for the browse button work, so I am not worrying
about that. You are right, but that is not the point. What the jsp
does is also irrelevant at this point. Just call it test.jsp or
whatever. I am merely and simply trying to get an image to work as a
browser button in a file upload. This works in IE but not in Mozilla,
etc. When I get this working in Mozilla, etc. then I will make sure
that a submit button works with that. Then I will worry about the
type of the form.
There is no upload happening at this time because I am not even trying
to do that now. Do you understand? When I get the browse working,
then I will worry about the uploading with a submit.
Michael McGrady
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]