Does anyone know how to access the action instance from the value stack. 
I'd like to be able to call a method on the action from the JSP.

I'm trying to do something like this:

MyAction.java:
public class MyAction extends ActionSupport
{
    public String myMethod()
    {
        return "something";
    }
}

JSP:
<%

   MyAction myAction = [##somehow get the action instance##];
   String myMethodResult = myAction.myMethod();

%>

Thanks in advance,
Graham



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to