Hello,
how can i access a public static method, from a public abstract class =
from my PHP code? I'm trying to access the ApplicationContext from =
Spring Framework, to get access to messages...
public abstract class WebApplicationContextUtils {..
public static WebApplicationContext =
getWebApplicationContext(ServletContext sc)=20
...
}
This - below - is generating errors:
$wu =3D new =
javaClass("org.springframework.web.context.support.WebApplicationContextU=
tils");
$sc =3D java_get_context()->getServletContext();
$ac =3D $wu->getRequiredWebApplicationContext($sc);
Thanks,
Ely
|