1 Reply Latest reply on Jun 19, 2006 12:15 PM by kukeltje

    Get request path in a class that implements ActionHandler

    mindthegap

      Hi

      How can i get the real path of a request in a class that implements ActionHandler? In a servlet i use:

      request.getSession().getServletContext().getRealPath("file.xml")

      But in a class that implements ActionHandler i cannot:

      public class LoginAction implements ActionHandler {

      public void execute(ExecutionContext ctx)
      {

      ctx. ?

      }

      }

      thanks in advance