The same way that you did in the past. Just use getServlet(), which is in the Struts Action class that your action extends, to get the servlet object.
-- Martin Cooper ----- Original Message ----- From: "Brandon Goodin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, October 26, 2001 11:44 PM Subject: Upload Question > In the process of uploading images to the server I need to determine the > location of my application on the server so that I can write to an absolute > location on the drive that I can acess from my webapp. In the past > (pre-Struts) I used the Servlet Context to determine where the web-app was > located. How do I get the app location from within a ActionClass? > > Brandon Goodin > Phase Communications > P (406)862-2245 > F (406)862-0354 > http://www.phase.ws > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

