1 Reply Latest reply on Jun 19, 2006 12:15 PM by Ronald van Kuijk

    Get request path in a class that implements ActionHandler

    Ricky Donner Newbie

      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