You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Abhijeet Mahalkar <Ab...@indussoft.com> on 2003/09/26 12:53:55 UTC

.do again with problem points/code...

----- Original Message ----- 
From: Abhijeet Mahalkar 
To: Rohit_Arora 
Sent: Friday, September 26, 2003 4:17 PM
Subject: .do again


 
Hi rohit
 
this is the stact trace for the error  i am getting..

But please tell me first that while submiting how will i write <html:submit>

i have written something like this...
<html:submit property="details"> Details </html:submit>


and my action class getKeyMethodMap() method contains  

  Map map = new HashMap();
  map.put("button.save","save");
  map.put("button.details","details");
  map.put("button.error","error");
  map.put("button.appreset","appreset");
  return map;
 

and return type of details method contains 

return mapping.findForward("/usergroupmaster");

Are these code snippets are correct. I hope now it will make you easy to understand the error and my mistakes properly...

thanks 
abhijeet
 
[9/26/03 15:23:05:283 IST] 19bf2a8c WebGroup      I SRVE0180I: [Phase2.war] [/phase2] [Servlet.LOG]: /pages/UserGroupMaster.jsp: init
[9/26/03 15:23:05:323 IST] 19bf2a8c WebGroup      E SRVE0026E: [Servlet Error]-[Cannot retrieve mapping for action /usergroupmaster]: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /usergroupmaster
 at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:810)
 at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
 at org.apache.jsp._UserGroupMaster._jspService(_UserGroupMaster.java:242)
 at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
 at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
 at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:598)
 at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
 at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
 at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
 at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
 at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
 at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
 at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182)
 at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
 at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
 at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
 at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)

[9/26/03 15:23:06:615 IST] 5a11aaae WebGroup      E SRVE0026E: [Servlet Error]-[Cannot retrieve mapping for action /usergroupmaster]: javax.servlet.jsp.JspException: Cannot retrieve mapping for action /usergroupmaster
 at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:810)
 at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:506)
 at org.apache.jsp._UserGroupMaster._jspService(_UserGroupMaster.java:242)
 at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
 at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
 at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:598)
 at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:696)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
 at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java(Inlined Compiled Code))
 at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java(Compiled Code))
 at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java(Inlined Compiled Code))
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java(Compiled Code))
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java(Compiled Code))
 at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:173)
 at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)
 at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:199)
 at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
 at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)
 at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:187)
 at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:331)
 at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
 at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:432)
 at com.ibm.ws.http.HttpConnection.run(HttpConnection.java(Compiled Code))
 at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:592)