Struts

2 views
Skip to first unread message

Arvind Chandok

unread,
Aug 13, 2007, 1:07:51 AM8/13/07
to technical-...@googlegroups.com
Hi all,

Can u plz tell me how i can get servletContext object in struts Action class,
I mean in execute method.

Thanks

--
Arvind Chandok I Software Engineer I Daffodil Software Ltd I Gurgaon I India I Contact : 9899825712,9896726880

Kuldeep1 S

unread,
Aug 13, 2007, 2:12:45 AM8/13/07
to technical-...@googlegroups.com

Hi.

Action class has a method named getServlet()
you can call getServlet().getServletContext();

Regards,

Kuldeep Singh
Tata Consultancy Services
Plot No. 362-363,
Phase-IV,
Udyog Vihar,
Gurgaon - 122016,Haryana
India
Cell:- +919873722636
Mailto: kulde...@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty.        IT Services
                       Business Solutions
                       Outsourcing
____________________________________________



"Arvind Chandok" <arvind....@gmail.com>
Sent by: technical-...@googlegroups.com

08/13/2007 10:37 AM


To
technical-...@googlegroups.com
cc
Subject
[Discussion 84] Struts


ForwardSourceID:NT0000287A    
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


Arvind Chandok

unread,
Aug 13, 2007, 2:31:18 AM8/13/07
to technical-...@googlegroups.com
Thanks
virdi ji
Reply all
Reply to author
Forward
0 new messages