Hi all,

I've got a problem while calling a JSP action from a JSP template.

I've got a JSP Portlet identified by:
        Action: portlet.MyJSPAction
        Template: test.jsp

Another JSP Porlet identified by:
        Action: none
        Template: hello.jsp

>From hello.jsp I want to call the action portlet.MyJSPAction as follows:

<form method="post" name="myform" action="<jetspeed:dynamicUri/>">
<input type="hidden" name="js_peid" value="<%=jspeid%>">
<input type="hidden" name="action" value="portlets.MyJSPAction"/>
<input type="submit" value="Change">
</form>

But I do not think it worked because I get the hello.jsp back again.

I can access content generated by MyJSPAction from test.jsp, but not from
hello.jsp.

In fact what I want to do (do not know if possible) is execute hello.jsp,
from there invoke MyJSPAction and return test.jsp as a result of the
invocation.

That's to complete a JSP flow.


View            Controller

Hello.jsp -> 
                 MyJSPAction
Test.jsp  <-

Is that possible?, shall I use the same JSP with different action method
calls?

Thanks.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to