I have a mp3 file which I am sending through namevalue pairs and I have to get that mp3 file decode it in server side and save it in a folder in server side using jsp.How can I do that.?can anyone give me some ideas.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In short, you want to be able to upload a file to your JSP. First of all, a JSP is used to generate markup, so you should upload the file to a servlet or action, but not to a JSP.
All the MVC frameworks (Stripes, Spring MVC, etc.) have native support for file uploads. They would also help structure your application. If you really don’t want to use such an MVC framework, then use Apache commons FileUpload.