I just want to know that is it possible to invoke ActionServlet through main() ,i.e my Request will come from main() .If possible ,how can it be done .
If you're looking for a way to test your Action Classes, check out Jakarta Cactus and Struts Test Case. These will let you create classes that will use pseudo-requests to call the web application.