how can I use SmartUpload in a Servlet??
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   w_qs
Posted On:   Monday, March 11, 2002 09:43 PM

this is my code:

com.jspsmart.upload.SmartUpload MyUpload = new com.jspsmart.upload.SmartUpload();
try
{
MyUpload.initialize( config,requst,response);
MyUpload.setForcePhysicalPath(true);
MyUpload.upload();//just this line
}
catch(Exception e)
{
out.println("upload failed!!...");
}

but the comment code line can not be implement..why? when run at this line the CPU will run at 100% ...why?

About | Sitemap | Contact