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 Date: Tue, 8 Jun 2004 10:39:20 -0400
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 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 ServletContext. Is there another way that I'm not aware of? Thanks all!
Frank
_________________________________________________________________ Watch the online reality show Mixed Messages with a friend and enter to win a trip to NY http://www.msnmessenger-download.click-url.com/go/onm00200497ave/direct/01/
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
_________________________________________________________________
Getting married? Find great tips, tools and the latest trends at MSN Life Events. http://lifeevents.msn.com/category.aspx?cid=married
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]