I have a java application containing main method. If I am passing an xml file using Httpclient's post method to a jsp file on the server side, how can I get it and read it in the jsp file from request object? I know there is a way to get the xml file in the servlet, but, is there any way to get it in the jsp file?
Asked
Active
Viewed 287 times
1 Answers
-1
the same way in servlet will work in the jsp scriptlet as well. Share the code for better understanding

Community
- 1
- 1

Ashwani Kumar
- 32
- 2
-
in the given example you have the xml path. I don't have any. Client will be sending me xml through http request. Parsing is not an issue. Getting the xml file from the request object in the jsp is the issue. – Newinjava Sep 14 '16 at 10:09
-
http://stackoverflow.com/questions/4595173/multipart-requests-responses-java }` try this code and check this [link](http://stackoverflow.com/questions/4595173/multipart-requests-responses-java) – Ashwani Kumar Sep 14 '16 at 11:28