This is the wrong mailing list for your question. Try the user list. But
the reason is because you have not declared your tag libaries at the top
of your page and thus they are not being interpreted.
Dilep wrote:
I don't know why my Action class is not getting ecexuted when i use <html:link>.
Code : JSP :
<html:link action="/form/myJsp.do?method=getTurnoverRequestDetails"> Click Me </html:link>
struts-config.xml :
<action attribute="testForm" input="/form/MyJsp.jsp" name="turnoverRequestForm" path="/form/myJsp" scope="request" parameter="method" type="com.wellsfargo.struts.action.TurnoverRequestAction"> <forward name="success" path="/form/MyJsp.jsp" /> </action>
Action class :
public class TurnoverRequestAction extends DispatchAction {
public ActionForward getTurnoverRequestDetails( ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { System.out.println("Inside Action.getTurnoverRequestDetails"); return mapping.findForward("success"); } }
getTurnoverRequestDetails is not getting executed. It is directly calling the
jsp whit out excutinf Action class. Is it that i am ding some thing wrong.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=66672&messageID=126897#126897
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]