Hello every-one 
i am trying to have a servlet forward to a jsp page after using the 
jakarta.common.uploadc utility to upload a file into tomcat. i have noticed the 
following behavior; if i request the forward operarion without performing the 
upload function the forward is executed. if i allow trhe file to be uploaded 
(ei writen to HD) the forward is not executed .
Bellow i am attaching the relevant lines of code 
do you have any sugestions how i can perform this task ?
thank you 
in advance 
Billy 
----- start of code ---
  RequestDispatcher page = null;
// upload the file and return the filename for further use 
     String fn= appacheImpl(request, response);
      page = this.getServletContext().getRequestDispatcher(CONTINUE_FORM);
      request.setAttribute("zipFile",new String (fn));
          
      page.forward(request,response);
      log.info("****** CHECK POINT 1   ******");
      
    } catch (Exception fue) {
----- end of code ---

Reply via email to