• Post Reply Bookmark Topic Watch Topic
  • New Topic

Can We invoke Struts Action Handler from a main()  RSS feed

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Everybody,

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 anybody has idea ,plz reply.

Thks in advance

Regards

Ankur Saxena
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!