• Post Reply Bookmark Topic Watch Topic
  • New Topic

getServletConfig()  RSS feed

 
Jolie Lee
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, i'm trying to do a file upload using jsp smartupload. in order to initialize the smartupload, i needto get the servletConfig.

How are i access the facesServlet and call the method getServletConfig?

here's part of my code:


SmartUpload supload = new SmartUpload();

supload.initialize(getServletConfig, FaceUtils.getHttpServletRequest(), FaceUtils.getHttpServletResponse());

supload.upload();
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!