[EMAIL PROTECTED] wrote:

> For various reasons, I'm trying to get an Action to call a method on a homemade
> servlet like so:

 >

> servlet.getServletContext().checkoutCollection("DPPmfg_cds", "trunk","cache");
> 
> Which, unsurprisingly, does not compile.


        I may be missing something here, but if the method is in the servlet, qhy are 
you calling it on the servlet context???


        You should be doing something like:

        ((MyOwnServletClass)servlet).myCustomMethod();

        Don't forget the cast.
        

-- 
[]'s
Marcelo Vanzin
Touch Tecnologia
[EMAIL PROTECTED]
"We're an underground revolution working overtime"

Reply via email to