Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » J2EE Interest »

How to handle multipart/form-data request

Xie, Jinpeng

2004-03-10


Message

 For multipart/form-data request, a servlet can get a java.io.InputStream if com.oreilly.servlet.multipart package is used. If I want to use the InputStream to store data into database, do I have to use jdbc from this web tier? Can I pass the InputStream into stateless session tier in another jvm? Can I pass InputSteam among web, session entity tiers in this case because InputSteam is just a connection to web-client in this case although InputSteam is not serializable?

 

I appreciate it if You can make me clear on this issue.

 

Jim

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

=========================================================================== To unsubscribe, send email to listserv@java.sun.com and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@java.sun.com and include in the body of the message "help".

©2008 junlu.com - Jax Systems, LLC, U.S.A.