I have a problem using the fileupload/browse button. When i am retrieving the field in the spring framework controller it is supposed to render the full path instead it is rendering only the file name which has been uploaded.Can somebody help me out with this. In short i want the full path of the file to be displayed.
sir can you let me know is there any way to store the file location. My requirement is to store the location which i have to use to retrieve when ever my file is updated.Please let me know ASAP.
I don't know if I understood the requirement right but how about either storing the location path of the file in the database. I have seen projects doing this but even better if all the files are stored in the same location have it in a properties file
Yes sir i have to take the location of the file from the administrator of the site, store it in the database and retrieve when ever any updates are made. That is if the logo has been changed the admin will just give the location of the new logo. The logo will be updated automatically.
Alright, let me try to understand this right. You have a field in the Spring Controller which picks up values from the DB where you have the right path stored.
Are you saying that the db retrieval is not proper or is the field picking up values from some other source.
I have a Form wherein the admin will enter the location of the logo(image) to be screened using the fileupload/browse .I have to take this real path and store it in the database and retrieve it for later use.I am using spring framework. [ December 15, 2008: Message edited by: ramanuja varun ]
Hi friend, You can try applet to upload the file.By browsing the html files available in the applet.
----------------------------------------------- Big File Upload " Have a unique feature, like salt. Its presence is not felt but its absence makes things tasteless/useless!"
bob david123
We've gotta get close enough to that helmet to pull the choke on it's engine and flood his mind! Or, we could just read this tiny ad:
a bit of art, as a gift, that will fit in a stocking