Get session attributes in servlet while using multiplart/form-data tag is JSP
I am trying to upload a file onto some location and the logic for the same is working fine. i.e the file is getting uploaded.
I have two JSP files one where i have browse button and other with the upload logic. When I click on browse and select the file to be uploaded and submit the request, the file gets uploaded but I am not able to get the session attributes of previous JSP in the new JSP by writing request.getParameter("first"); It is returning null.
Found Good Solution Sharing with All