Connecting Tech Pros Worldwide Help | Site Map

input type="file" value

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 11th, 2006, 08:39 AM
Newbie
 
Join Date: May 2006
Age: 27
Posts: 31
Default input type="file" value

hai everyone...

can i need your help?
recently i'm doing a program for upload image or file..
i've attmpted to post the location or path to the page then input it into the form using <input type = "file" value = ${paths} name = "image">, but its not working..

1. is there a way to upload file without using the browse button?
2. is there a way to upload file using <input type = "file" value = ${paths} name = "image">?

thank you.
Reply
  #2  
Old July 11th, 2006, 08:57 AM
Banfa's Avatar
AdministratorVoR
 
Join Date: Feb 2006
Location: South West UK
Posts: 5,731
Default

Are you sure this is a Java question and not a HTML/PHP question?
Quote:
but its not working..
Please describe the manor in which it is not working, what do you see that is wrong? What happens what is wrong? Do you get any error meaages?
Reply
  #3  
Old July 11th, 2006, 09:12 AM
Newbie
 
Join Date: May 2006
Age: 27
Posts: 31
Default

Actually, it is HTML question, but also relate with java.
I set the value of file input without using browse button.
<input type = "file" value = ${paths} name = "image">
But the value not appear at the browser and not carry the value..
any solution?
Reply
  #4  
Old July 12th, 2006, 08:52 AM
Banfa's Avatar
AdministratorVoR
 
Join Date: Feb 2006
Location: South West UK
Posts: 5,731
Default

Posting 1 line of your non-working file is not helpful in locating the error

I do not see how

<input type = "file" value = ${paths} name = "image">

can relate to Java, there is not a single piece of Java in this line of code, post the full code and the file name.
Reply
  #5  
Old August 2nd, 2006, 10:39 AM
Newbie
 
Join Date: Jul 2006
Location: Jaipur, India
Age: 23
Posts: 4
Default

I guess you are working on html, try doing this........

<img src=(give the path of the image)>

if this doesn't work try using microsoft frontlook. Its a tool where all the coding is done by the wizard and you just need to copy and paste items where you want to....

I hope this works....
Reply
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search


Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.