While uploading file from dojo it always not giving proper response that's why U cant give a message
such as file uploaded succeessfully or bot this issue can be solved by just return the string with in a html textarea tag ie
PrintWrite pw=responsequest.getWriter();
//code to upload file using the Api such as common file upload or jsp smart
String message = "";
if(fileuploaded){
message="";
}else{
message="";
}
out.println(message);
Then u will get the response what u have specified in this textarea
No comments:
Post a Comment