fake_Bezawada Posted November 9, 2012 Report Share Posted November 9, 2012 hii baa naku chinna help kavali code la 1) system lo oka zip file upload chesukuni 2)unzip chesi 3)store location loki files upload cheyyali any help baaa ServletFileUpload upload = new ServletFileUpload(new DiskFileItemFactory(20000, Studio.getTempDir())); FileItem fileItem = null; List<FileItem> items = null; try { items = upload.parseRequest(request); } catch (FileUploadException e) { request.setAttribute("errorMessage", "System error"); return (mapping.findForward("success")); } for (FileItem item : items) { fileItem = item; } InputStream ips=fileItem.getInputStream(); ZipInputStream zIn = new ZipInputStream(ips); ZipEntry entry = zIn.getNextEntry(); while(entry!=null){ String filePath="E:\\MiPlatform"; if (entry.isDirectory()) { BufferedOutputStream bos = new BufferedOutputStream(new FileOutputStream(filePath)); byte[] bytesIn = new byte[500000]; int read = 0; while ((read = zIn.read(bytesIn)) != -1) { bos.write(bytesIn, 0, read); } bos.close(); } else { // if the entry is a directory, make the directory File dir = new File(filePath); dir.mkdir(); } zIn.closeEntry(); entry = zIn.getNextEntry(); } zIn.close(); return mapping.findForward("success"); } idhi use chestante work ayyi savatla Quote Link to comment Share on other sites More sharing options...
fake_Bezawada Posted November 9, 2012 Author Report Share Posted November 9, 2012 koddiga pattinchukondi vayyyy java developer lu and jsp page nunchi potundhi zip file back end struts actionForward loki Quote Link to comment Share on other sites More sharing options...
aXXo Posted November 9, 2012 Report Share Posted November 9, 2012 ltt Quote Link to comment Share on other sites More sharing options...
fake_Bezawada Posted November 9, 2012 Author Report Share Posted November 9, 2012 [quote name='aXXo' timestamp='1352441702' post='1302767925'] ltt [/quote] ltt means Quote Link to comment Share on other sites More sharing options...
lavnya Posted November 9, 2012 Report Share Posted November 9, 2012 drop the mail to me [email protected] Quote Link to comment Share on other sites More sharing options...
Myclecype Posted November 9, 2012 Report Share Posted November 9, 2012 In these days, Authentic Handbags is among the most most accepted brand on earth and most stylish brand on the planet by the classic style including double G logo and Hose bit design. Authentic Handbags is the finest on the planet not just for his or her quality, but also for their luxury and sexy, which is the most popular brand among the upper class. Of these years, Authentic Handbags has gained profit and earn a great reputation on the market by its common products and services such as for instance wholesale Authentic Handbags shoes and their bags, their wallet and of course appearances. In the early beginning of 2011, [url=http://www.discountgucci.eu/]cheap gucci handbags[/url] showed us its wonderful history and delicate design for giving its new ideas to their products. Due to its design ideas Authentic Handbags was perhaps one of the most common brand in the devise world and become the leader of fashion. Let us look forward the new outlet of Authentic Handbags, the boots and the bags in the early this year. We also look straight back the Authentic Handbags boots that produced last year, the color of black may be the most trendy color in the most chic boot blended with other colors like classic red and green. A few Authentic Handbags styles fit each person, for insance, Authentic Handbags loafers & flats is for women and Authentic Handbags boots and Authentic Handbags sneakers is for men. A small transformation could cause the Authentic Handbags boots a big difference and looked very exemplary. It's the unusual material which make the Authentic Handbags boot looked so brilliant and so great as well as because the design of the zip. The trend that last year's fashion of Authentic Handbags boots will last this season, and the most people like it quite definitely. The distinctive Authentic Handbags built-in style with Retro aspects of Authentic Handbags boots will enable Authentic Handbags boots more and more stylish and awesome. Authentic Handbags bamboo handle handbag is inspired by the side of saddle. Many famous stars including Federica, Grace Kelly, Elizabeth Taylor and Deborah Kerr will undoubtedly be in love with the Authentic Handbags shoes provided that the shoes released. The Authentic Handbags hand bags has become probably one of the most trendy bags on the planet for the reason of the distinctive design Do you wish to have a Authentic Handbags bags now? It's no exaggeration for women to using one couple of the stylist's boots can make them in great joy. It's no doubt that the boots are the superlative friends to the women. We should take excellent care of the boots that we own, so that they will maintain a lengthy service life. It is extremely vital for you really to select [url=http://www.chanelhandbagsx.eu/]chanel outlet[/url] because it could make you tasteful. Authentic Handbags products can make you style and a little cute, allow you to younger mature. Are you aware how to pick the Authentic Handbags boots and handbags. Just got your Authentic Handbags products of bags and boots. The girls and boys desire the Authentic Handbags products. In the meanwhile, collar women just like the Authentic Handbags most. You needn't waste of energy to find other products We could design the greatest boots and handbags for you personally. Quote Link to comment Share on other sites More sharing options...
narajeevan Posted December 14, 2012 Report Share Posted December 14, 2012 download this code, it will help to your problem. http://freecode.com/projects/jspbrowser Quote Link to comment Share on other sites More sharing options...
muta mesthri Posted December 14, 2012 Report Share Posted December 14, 2012 [quote name='fake_Bezawada' timestamp='1352442714' post='1302767946'] ltt means [/quote] lift the thread ani mama Quote Link to comment Share on other sites More sharing options...
fake_Bezawada Posted December 14, 2012 Author Report Share Posted December 14, 2012 Thank you every one i finished the task by taking your support Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.