java - File uploading issue in struts 2 -



java - File uploading issue in struts 2 -

i have issue when uploading file in struts 2. used encoding type of jsp form follows multipart/form-data. when upload file , click submit button ,struts.xml returns action not reach method in action class. issue comes whether file upload or not when using encoding type multipart/form-data in jsp form.

<form action="createtemp" id="registration" name="registration" validate="true" method="post" enctype="multipart/form-data">

can please pay attending issue , provide solution.

all required file variables missing on action side i.e. having interceptor issue(not fileupload interceptor).

here working illustration on how upload file in struts2.

java web-applications file-upload struts2

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -