You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ne...@srb-intl.com on 2003/04/17 20:15:15 UTC

direct forward to action.

Hi,

how to forward from .jsp page directly to action (without submitting form)?

I have tried:
	<%response.sendRedirect(response.encodeRedirectURL("myAction.do"));%>
	<%response.sendRedirect("/myAction.do");%>
	<jsp:forward page='/myAction.do'/>
	<jsp:forward page='myAction.do'/>
	<logic:redirect forward='myAction.do'/>
	<logic:forward name='myAction.do'/>


but no one succeeded.

~nn

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