Hi Li, We are submitting the http request through java script. Below is the code. function submitNewJournalAction(operation) { var url; if(operation=="journalInformation") { url = '/finance/glui/dolphin.wss/newJournal?operation=loadPageData&link_id=new-journal'; } if(operation=="accountInformation") { url = '/finance/glui/dolphin.wss/newJournal?operation=loadAccountInfo&link_id=new-journal'; } if(operation=="supportDocumentation") { url = '/finance/glui/dolphin.wss/newJournal?operation=loadSupportingDocumentInfo&link_id=new-journal'; } document.newJournal.action = url; document.newJournal.submit(); }
And the server side code is an Action classes extnded by DispatchAction from Struts framework public ActionForward loadPageData(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse reponse) { log.debug("in Action"); final String STRING_METHOD = "loadPageData"; NewJournalForm newJournalForm = (NewJournalForm) form; /* some bussines logic processing */ log.debug("end of Action"); return mapping.findForward(Constants.STRUTS_FORWARD_FAIL_STRING); } Let us know if you need anything else. Thanks in advance. -- View this message in context: http://struts.1045723.n5.nabble.com/NoSuchMethodException-does-not-contain-handler-tp5061500p5079345.html Sent from the Struts - Dev mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org