RE: how do i get the reference of ServletContext in Action Class

2004-06-24 Thread Asim Ghosh
je original- De: Asim Ghosh [mailto:[EMAIL PROTECTED] Enviado el: jueves, 24 de junio de 2004 8:19 Para: [EMAIL PROTECTED] Asunto: how do i get the reference of ServletContext in Action Class hello guys, can any one tell me that how do i get the reference of ServletConte

RE: how do i get the reference of ServletContext in Action Class

2004-06-24 Thread Jonathan Roberts
xt() method in the Action class. -Mensaje original- De: Asim Ghosh [mailto:[EMAIL PROTECTED] Enviado el: jueves, 24 de junio de 2004 8:19 Para: [EMAIL PROTECTED] Asunto: how do i get the reference of ServletContext in Action Class hello guys, can any one tell me that how do i get the refer

Re: how do i get the reference of ServletContext in Action Class

2004-06-23 Thread Christopher . Marsh-Bourdon
ourdon Pyplia Limited Asim Ghosh <[EMAIL PROTECTED]> 24/06/2004 07:19 Please respond to "Struts Users Mailing List" To: [EMAIL PROTECTED] cc: Subject:how do i get the reference of ServletContext in Action Class hello guys, can any o

RE: how do i get the reference of ServletContext in Action Class

2004-06-23 Thread Asim Ghosh
thod in the Action class. -Mensaje original- De: Asim Ghosh [mailto:[EMAIL PROTECTED] Enviado el: jueves, 24 de junio de 2004 8:19 Para: [EMAIL PROTECTED] Asunto: how do i get the reference of ServletContext in Action Class hello guys, can any one tell me that how do i get the r

RE: how do i get the reference of ServletContext in Action Class

2004-06-23 Thread Asim Ghosh
Action class is derived from Object class. Action class doesn't have any getServletConfing or getServletContext(). ActionServlet has those methods. But i need the ref. of ServletConfig or ServletContext in Action class. Alex Epelde <[EMAIL PROTECTED]> wrote:Action class has a getSe

RE: how do i get the reference of ServletContext in Action Class

2004-06-23 Thread Alex Epelde
viado el: jueves, 24 de junio de 2004 8:19 Para: [EMAIL PROTECTED] Asunto: how do i get the reference of ServletContext in Action Class hello guys, can any one tell me that how do i get the reference of ServletContext in Action Class. asim -

RE: how do i get the reference of ServletContext in Action Class

2004-06-23 Thread Alex Epelde
ricServlet) depending of your servlet api version. -Mensaje original- De: Asim Ghosh [mailto:[EMAIL PROTECTED] Enviado el: jueves, 24 de junio de 2004 8:19 Para: [EMAIL PROTECTED] Asunto: how do i get the reference of ServletContext in Action Class hello guys, can any one tell me that how do

how do i get the reference of ServletContext in Action Class

2004-06-23 Thread Asim Ghosh
hello guys, can any one tell me that how do i get the reference of ServletContext in Action Class. asim - ALL-NEW Yahoo! Messenger - so many all-new ways to express yourself

RE: ServletContext in Action

2004-06-08 Thread Frank Zammetti
PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: 'Struts Users Mailing List' <[EMAIL PROTECTED]> Subject: RE: ServletContext in Action Date: Tue, 8 Jun 2004 10:07:05 -0700 Frank, You can also use the following, if you want: this.servlet.getSe

RE: ServletContext in Action

2004-06-08 Thread Venkat Maddipati
Frank, You can also use the following, if you want: this.servlet.getServletContext(); Thanks, Venkat -Original Message- From: Frank Zammetti [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 08, 2004 7:37 AM To: [EMAIL PROTECTED] Subject: ServletContext in Action Can anyone see how to

Re: ServletContext in Action

2004-06-08 Thread Frank Zammetti
us answer I didn't see. Thank you! > > Frank > > > >From: [EMAIL PROTECTED] > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >Subject: Re: ServletContext in

Re: ServletContext in Action

2004-06-08 Thread Hubert Rabago
ion, works fine. I would in fact prefer > > to not go through session if possible though... > > Frank > > > >From: Hubert Rabago <[EMAIL PROTECTED]> > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: Struts Users Mailing Li

Re: ServletContext in Action

2004-06-08 Thread Frank Zammetti
o: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: ServletContext in Action Date: Tue, 8 Jun 2004 07:45:00 -0700 (PDT) There's also getServlet().getServletContext() in case you don't want to go through th

Re: ServletContext in Action

2004-06-08 Thread Hubert Rabago
MAIL PROTECTED] > >Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >To: "Struts Users Mailing List" <[EMAIL PROTECTED]> > >Subject: Re: ServletContext in Action > >Date: Tue, 8 Jun 2004 10:39:20 -0400 > > > >request.ge

Re: ServletContext in Action

2004-06-08 Thread Frank Zammetti
Ah! I knew it would be an obvious answer I didn't see. Thank you! Frank From: [EMAIL PROTECTED] Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Subject: Re: ServletContext in Action

Re: ServletContext in Action

2004-06-08 Thread DGraham
request.getSession().getServletContext(); "Frank Zammetti" <[EMAIL PROTECTED]> 06/08/2004 10:36 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To [EMAIL PROTECTED] cc Subject ServletContext in Action Can anyone see

ServletContext in Action

2004-06-08 Thread Frank Zammetti
Can anyone see how to get access to the current ServletContext object from within an Action? I might be missing something obvious, but I don't see a way to do it. Specifically I need to get the real filesystem path to my WEB-INF folder... I have code that does this already, but it requires the