You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Dave Newton <ne...@pingsite.com> on 2006/01/31 15:27:49 UTC

[OT] Re: Waiting for the return value of a JAVA scriptlet

Andreas B. Thun wrote:
> I wrote a JSP to start a JAVA scriptlet.
> It works fine but now I have the problem
> to evaluate the return value of my scriptlet
> to give the user a feedback if the action
> was successful.
> getErrorCode() delivers the scriplets return
> value.
> I have to wait until the scriplet is finished...
>
> Do you have any ideas how this can be done?
>
> <%
>     RunWorkflow wf = new RunWorkflow(args);
>     wf.execute();                      
> %>
<%= getErrorCode() %>

*shudder*

Dave



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