J2EE browser based UI to accept multiple file and bundle it to a war file output

Hi Experts,
 I need a direction as to how I could go about to develop a simple browser based UI, which would accept files and bundle it and give a output in a war file format.

Desirable Features:
1. Browser based UI running on Jboss
2. The page should have multiple browse links to accept files
3. should have a browse field asking for output location
4. Output as a war file format.

Any help would be greatly appreciated.
Who is Participating?
mukundha_expertConnect With a Mentor Commented:
you can refer to the code for FileUpload -> http://www.experts-exchange.com/Programming/Languages/Java/J2EE/Servlets/Q_23452603.html

once you get the files in the list, you can use the examples for Creating archive to create the war file,
but before that you would need to know the structure of the WAR file, how the user is going to specify the folders,
ya its possible,

for uploading files using forms, you can use FileUpload from Apache,

for converting into a webarchive you might want to use the java.util.zip
and give the extension as war

and you can send that war file to the client.

itsme_asifAuthor Commented:
Thanks much , its exactly what i wanted. I need to ask a another dumb favor as well, i am new J2EE or Java, can you please tell me how i can go about starting a project, i am using eclipse IDE and also how i can connect the codes FileUpload and Creating Archive. is there any sample project you can provide me which i can reference?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.