[OFBiz] Dev - Uploading Files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Dev - Uploading Files

Michael Irving

I’m writing a class to handle uploading files via Service.  I’m trying to use HttpRequestFileUpload.java but the method doUpload uses HttpServletRequest as a parameter.  Is it possible to send this is I’m using a Service?

 

-----------------------------------------

Michael Irving

Keynetx, Inc. - Building Solutions for Success

Mobile: (267)474.3564

Fax: (425) 871-2838

email: [hidden email]

 

* * * Visit Our Web Site: http://www.keynetx.net * * *

 

--------------------------------------------------------------------------------

NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.

 


 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Dev - Uploading Files

David E. Jones

Michael,

I'm not sure what this would do... Uploading through a web  
application is a very web-specific thing so it doesn't seem like a  
service makes sense for this, as the Service Engine is a more generic  
logic management tool and doesn't know anything about servlet APIs  
and such. It might make sense to write a service to do something with  
the uploaded file, but actually receiving the upload is very UI and  
webapp (Servlet API) specific.

-David


On Oct 21, 2005, at 2:20 PM, Michael Irving wrote:

> I’m writing a class to handle uploading files via Service.  I’m  
> trying to use HttpRequestFileUpload.java but the method doUpload  
> uses HttpServletRequest as a parameter.  Is it possible to send  
> this is I’m using a Service?
>
>
>
> -----------------------------------------
> Michael Irving
> Keynetx, Inc. - Building Solutions for Success
> Mobile: (267)474.3564
> Fax: (425) 871-2838
> email: [hidden email]
>
> * * * Visit Our Web Site: http://www.keynetx.net * * *
>
> ----------------------------------------------------------------------
> ----------
> NOTICE: If received in error, please destroy and notify sender.  
> Sender does not waive confidentiality or privilege, and use is  
> prohibited.
>
>
>
> _______________________________________________
> Dev mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/dev

 
_______________________________________________
Dev mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/dev

smime.p7s (3K) Download Attachment