Do following changes:

your struts-config:


<action-mappings> <action path="/Article" type="articles.ArticleAction" scope="request" validate="true" parameter="/Template.jsp"> <forward name="success" path="/Template.jsp"/> </action>

   <action
        path="/ArticleUpdate"
        type="articles.ArticleAction"
        name="articleForm"
        scope="request"
        validate="true"
        input="/Template.jsp">
        <forward name="success" path="/preview.jsp"/>
        <forward name="failure" path="/Template.jsp"/>
        </action>

</action-mappings>


your Template.jsp <html:form action = "/ArticleUpdate"> .....

</html:form>

uma.k wrote:

Hi Bush,
Its confusing me. How do I call an Action without the Template.jsp form
being submitted? My Action and ActionForm are i web-inf/classes/articles
folder. My Template.jsp will take that information from the user and send it
to the respective jsp based on the "execute" method.

If I am wrong please correct me.

Thanks
Uma



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

Reply via email to