S
Saad Malik
Hi Guys/Gals,
I know that when you upload files in JSP/Servlets you have to set the
form method to post and type to form-data.
Since the method is POST, the file will be attached after the request
headers of the client request.
And if that is true, then is it also true that you SHOULD never
forward to servlets/jsp (using requestDispatcher) since there could be
a potential 100's of mb in the body of the request that has to be
moved with the original request to the new servlet/jsp?
If this is not the case, can someone please explain why it is not?
THanks.
Saad.
I know that when you upload files in JSP/Servlets you have to set the
form method to post and type to form-data.
Since the method is POST, the file will be attached after the request
headers of the client request.
And if that is true, then is it also true that you SHOULD never
forward to servlets/jsp (using requestDispatcher) since there could be
a potential 100's of mb in the body of the request that has to be
moved with the original request to the new servlet/jsp?
If this is not the case, can someone please explain why it is not?
THanks.
Saad.