rwthAachen
Programmer
Hi
Is there any possible way to access a servlet (public) method or get ServletContext attribute from a stand alone class (running on same machine as servlet).
Thanks in advance !!
if you need more details check further.
~Cheers
Details:
My problem is I am using Ericsson's network emulator. The emulator creates a Http connection to send some data. So I have to use Servlet (to provide Http Compatibility) at client side. and I pass my Handler to servlet through web.xml. servlet unparse the data and feed to handler!!
how can I get the Instance of my Handler ?? my servlet has getHandler method as well as ServletContext attribute for that handler.
But I dont know how to access method from standalone class.
Is there any possible way to access a servlet (public) method or get ServletContext attribute from a stand alone class (running on same machine as servlet).
Thanks in advance !!
if you need more details check further.
~Cheers
Details:
My problem is I am using Ericsson's network emulator. The emulator creates a Http connection to send some data. So I have to use Servlet (to provide Http Compatibility) at client side. and I pass my Handler to servlet through web.xml. servlet unparse the data and feed to handler!!
how can I get the Instance of my Handler ?? my servlet has getHandler method as well as ServletContext attribute for that handler.
But I dont know how to access method from standalone class.