Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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
Author

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

Raj Kumar
Ranch Hand

Joined: Sep 19, 2005
Posts: 65
Hi,
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="http://eddyleesinti.blogspot.com" target="_blank" rel="nofollow">http://eddyleesinti.blogspot.com</a>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Input Type = "File" --- your reply please...