aspose file tools*
The moose likes JSP and the fly likes changing filename after uploading image Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "changing filename after uploading image " Watch "changing filename after uploading image " New topic
Author

changing filename after uploading image

Satyajeet Kadam
Ranch Hand

Joined: Oct 19, 2006
Posts: 215
I am doing application where i am selecting img to be uploaded . after uploading i want to change its file name. to values that i am getting from session

example useridcompid.img save it.

a2) i want to saveimage in img folder using relative url

I am attaching my code below

[/CODE]
Hongli Li
Ranch Hand

Joined: Oct 29, 2006
Posts: 124
i want to saveimage in img folder using relative url

You can't save image in a folder using relative path, you have to use absolute path.


Do you know why this cup is useful? Because it is empty.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: changing filename after uploading image