Here is the code to rename the uploaded file
In JSF page:
In Manager Bean:
To display the uploaded file name in jsf page
String fileName;
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
this.fileName = fileName;
}
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.