Yu (you!)! I think you just solved your own problem: getServlet().getServletContext().getRealPath();
Regards, David -----Original Message----- From: yu wang [mailto:[EMAIL PROTECTED] Sent: Sunday, October 17, 2004 9:41 PM To: [EMAIL PROTECTED] Subject: How can I get the real path of application in struts In JSP I can use the application.getRealPath("") to get the real path. and In common Java Application I use System.getProperty("user.dir"). But How can I get Real path in ACTION. thanks in advance kingfish --------------------------------------------------------------------- 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]