Loss of upload in memory + Recover error message
Posted: Thu Nov 03, 2011 2:45 pm
Hello,
I have two problems :
# 1 -
I have a problem with JFileUpload when I want to store in memory the upload.
After integrating the applet in a JSP, via the URL parameter, I use a servlet for processing :
=> <PARAM NAME = "url" VALUE="http://myserver.com/ServletProcess">
This is ok.
Once treatment is done, I want to pass control to another servlet:
=> <PARAM NAME = "post" VALUE="http://myserver.com/ServletBusiness">
(I use two servlets because the second will be in charge by an other technical team)
I switch well to the 2nd servlet but I have no information about the upload (I expected to find this in the session).
Have you
# 2 -
I would catch the error messages (eg SocketException when my server is down) in order to display them (or not) where I want it in my jsp.
Thanks!
Bob
I have two problems :
# 1 -
I have a problem with JFileUpload when I want to store in memory the upload.
After integrating the applet in a JSP, via the URL parameter, I use a servlet for processing :
=> <PARAM NAME = "url" VALUE="http://myserver.com/ServletProcess">
This is ok.
Once treatment is done, I want to pass control to another servlet:
=> <PARAM NAME = "post" VALUE="http://myserver.com/ServletBusiness">
(I use two servlets because the second will be in charge by an other technical team)
I switch well to the 2nd servlet but I have no information about the upload (I expected to find this in the session).
Have you
# 2 -
I would catch the error messages (eg SocketException when my server is down) in order to display them (or not) where I want it in my jsp.
Thanks!
Bob