Class ImageStorer

    • Method Detail

      • processMultipartRequest

        public void processMultipartRequest​(org.apache.struts2.dispatcher.multipart.MultiPartRequestWrapper multiPartRequest)
        Checks the request to see that the MultiPartRequest provided contains a valid image. It will also set the fileName which it extracts from the provived request. Note that this method will set errors on the provided Action directly.
        Overrides:
        processMultipartRequest in class FileStorer
        Parameters:
        multiPartRequest - to process