• Welcome to KonaKart Community Forum. Please login or sign up.
 

Adding a custom file upload page

Started by markb, July 21, 2013, 01:07:52 pm

Previous topic - Next topic

markb

I posted this question under Feature Requests, but I think it's more appropriate as a programming question. I would like to implement a page which would allow customers to upload some files. It should be a simple task involving adding a new JSP or modifying an existing one. All that is needed is a form with some basic fields, a file chooser and a button for the upload action. Is there any recommended KK API for handling a file upload outside of the Digital Download product page?

Can you advise on a good starting point for such a feature?

julie

The storefront application is based on the Struts2 / Tiles framework so you need to create a JSP and a new Struts action class to manage the upload. Then you need to edit the struts and tiles configuration files in order to be able to use the new JSP and action class. If you do a Google search for Struts + File Upload you'll come across many examples to give you a good start.