File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Input Type = Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Input Type = "File"   --- your reply please..." Watch "Input Type = "File"   --- your reply please..." New topic

Input Type = "File" --- your reply please...

Raj Kumar
Ranch Hand

Joined: Sep 19, 2005
Posts: 65
i want to upload a file in all the sample code which i got they are having the INPUT TYPE = "FILE" which is normal as it gives the user a choice to select the file.

In my program i want to upload the file which is not selected by the user but selected by my program itself so at this point there is no need for me to give the INPUT TYPE = " FILE"

For sample purpose i gave this
<INPUT type=text value="file name"

but it is not uploading the file can i know the possible error which i'am making here....

Thanks in advance
Annie Smith
Ranch Hand

Joined: Mar 05, 2005
Posts: 172
File uploading

Cheers!<br /><b>Annie</b>
Eddy Lee Sin Ti
Ranch Hand

Joined: Oct 06, 2005
Posts: 135
A common solution to file upload
[ October 13, 2005: Message edited by: Eddy Lee Sin Ti ]

SCJP, SCWCD, SCJWS, IBM 700,IBM 701, IBM 704, IBM 705, CA Clarity Technical<br /> <br /><a href="" target="_blank" rel="nofollow"></a>
I agree. Here's the link:
subject: Input Type = "File" --- your reply please...
It's not a secret anymore!