Sorry, i want to say how can i use this example to fulfill my uploading requirements ?
As there is only one class (ReceiverServlet.java) for uploading in PickWick. I already knows its functionality but my question is that, Apache Commons FileUpload requires HttpServletRequest for parsing Request (servletFileUpload.parseRequest(httpServletRequest)). I don't have any experience of using Servlets in Wicket tha's why i want to know, How can we set or get HttpServletRequest in a wicket application, like in doGet() & doPost() in Servlets ? Also, IMultipartWebRequest is required for uploading in Wicket. How can i cast it to HttpServletRequest, as an Exception occur while casting IMultipartWebRequest to HttpServletRequest. Thanks... ________________________________ From: FaRHaN <[email protected]> To: [email protected] Sent: Thursday, September 3, 2009 1:16:19 PM Subject: Re: How to use Apache Commons FileUpload in Wicket ? How can i view PickWick Examples (with Code), from Pickwick-Wicket Stuff WIKI site? ________________________________ From: Fernando Wermus <[email protected]> To: [email protected] Sent: Wednesday, September 2, 2009 6:44:14 PM Subject: Re: How to use Apache Commons FileUpload in Wicket ? You have pickwick project that has an example exaclty as the way you want On Wed, Sep 2, 2009 at 4:02 AM, FaRHaN <[email protected]> wrote: > I want to upload a file using apache commons FileUpload API. As it requires > HttpServletRequest for uploading files, but in wicket > IMultipartWebRequest/IMultipartServletWebRequest is required for uploading > purposes. > > How can I use apache commons FileUpload for uploading in Wicket ? Is there > any example to do so ? > > Thanks... > > > > -- Fernando Wermus. www.linkedin.com/in/fernandowermus
