[OWASP-WEBSCARAB] Need a little more help on the script part...

David Stidolph dstidolph at gmail.com
Tue Jan 17 17:38:01 EST 2006


This is made from the script you gave me:

import com.ZipProxy.ZipProxyController;

public Response fetchResponse(HTTPClient nextPlugin, Request request) throws
IOException {
    controller = bsf.lookupBean("controller"); // <<< error here
    if (controller == null) {
      // create an instance of your class
      controller = new ZipProxyController();
      // register it so that we can get it
      // back on a later invocation of this script
      bsf.registerBean("controller", controller);
    }
   ZipProxyController controller = new ZipProxyController();
   return controller.fetchResponse(nextPlugin, request);
}

The script processor does seem to understand bsf or lookupBean.  What do I
have to import and define?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.owasp.org/pipermail/owasp-webscarab/attachments/20060117/1cb695a8/attachment.html 


More information about the Owasp-webscarab mailing list