in the service point configuration of my service in hivemodule.xml I
hvae put the following:

<set-object property="context" value="infrastructure:context"/>

Then in the java code of  the service:

protected WebContext context;


    public void setContext(WebContext context) {
       
        this.context = context;
       
    }


I have come to this conlcusion by similarity  with

          <set-object property="response" value="infrastructure:response"/>

that I have found on the net as an example to get the WebResponse Object.

BUT: how can I find a list of the available entry points ?



Ivano Luberti ha scritto:
> I have implemented a class that Implements IEngineService interface.
>
> I need to get the ServletContext to finally get the realPath.
>
> Anyone can tell me how to do that?
>
> I have searched for a while without success
>
>
>   

-- 
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to