so try marking the other web-application that you are calling out from as crossContext="true"
-a
[EMAIL PROTECTED] wrote:
Hey gang,
I'm trying to access one web appl from another. I added crosscontext in the server.xml file <Host> <Context docBase="/servlets-examples" path="/servlets-examples" crossContext="true" reloadable="true"></Context> </Host>
And in java,
ServletContext sc = filterConfig.getServletContext().getContext ("/servlets-examples"); System.out.println(sc.getServletContextName());
This is giving null pointer exception. I'm held up on this for few hours. I would appreciate if anyone could solve this.
Thanks, Madhan Lakshmanan(Maddy) Park Seed Inc 864-941-4232
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
