Erreur Struts

Erreur Struts - Java - Programmation

Marsh Posté le 08-09-2005 à 10:33:04    


J'ai l'erreur ci dessous et je ne vois pas de quoi vient l'erreur car tout me semble bien déclaré.
 
 

Code :
  1. [08/09/05 10:28:29:112 CEST] 79ebb361 InsertTag     E org.apache.struts.taglib.tiles.InsertTag  ServletException in '/jsp/filiale/filialeRead.jsp': Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
  2. [08/09/05 10:28:29:128 CEST] 79ebb361 InsertTag     E org.apache.struts.taglib.tiles.InsertTag  TRAS0014I: L'exception suivante a été consignée : javax.servlet.ServletException: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
  3. at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:416)
  4. at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:669)
  5. at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:767)
  6. at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  7. at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
  8. at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
  9. at com.ibm.ws.webcontainer.servlet.ServicingServletState.service(StrictLifecycleServlet.java:333)
  10. at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
  11. at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
  12. at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
  13. at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
  14. at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
  15. at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
  16. at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java:253)
  17. at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java:991)
  18. at org.apache.jasper.runtime.PageContextImpl.include(PageContextImpl.java:470)
  19. at org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:99)
  20. at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:135)
  21. at org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:760)
  22. at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:892)
  23. at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:462)
  24. at org.apache.jsp._adminLayout._jspService(_adminLayout.java:469)
  25. at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)
  26. at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  27. at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:344)
  28. at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:669)
  29. at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:767)
  30. at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  31. at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
  32. at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
  33. at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
  34. at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
  35. at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
  36. at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
  37. at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
  38. at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
  39. at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
  40. at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
  41. at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1063)
  42. at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
  43. at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)
  44. at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)
  45. at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
  46. at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
  47. at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
  48. at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
  49. at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
  50. at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)
  51. at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)
  52. at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)
  53. at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)
  54. at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)
  55. at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)
  56. at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)
  57. at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:983)
  58. at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:564)
  59. at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:200)
  60. at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:119)
  61. at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:276)
  62. at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)
  63. at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:116)
  64. at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)
  65. at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)
  66. at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)
  67. at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:618)
  68. at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:443)
  69. at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:672)


 
 

Code :
  1. <%@ taglib uri="html" prefix="html" %>
  2. <%@ taglib uri="tiles" prefix="tiles" %>
  3. <%@ taglib uri="bean" prefix="bean" %>
  4. <div class="borderedFrameButtonBar">
  5. <html:img src="images/intranet/List_ButtonDelete_Off.gif" onmouseover="this.src='images/intranet/List_ButtonDelete_On.gif'"  onmouseout="this.src='images/intranet/List_ButtonDelete_Off.gif'" onclick="return deleteUser();" style="margin-top: 1px; cursor: hand;" />
  6. <html:link action="userList" >
  7.  <html:img src="images/intranet/Button_Cancel_Off.gif" onmouseover="this.src='images/intranet/Button_Cancel_On.gif'"  onmouseout="this.src='images/intranet/Button_Cancel_Off.gif'" styleClass="button" />
  8. </html:link>
  9. </div>
  10. <div class="borderedFrameCaptionTop" style="width: 210px">Visualisation de filiale</div>
  11. <div class="borderedFrame">
  12.  <table class="tblStandard"><tbody>
  13.   <tr>
  14.    <th>Libelle :</th>
  15.    <td><html:text readonly="true" styleClass="readonly" property="subLabel" /></td>
  16.    <th>Pays :</th>
  17.    <td><html:text readonly="true" styleClass="readonly" property="subCountry" /></td>
  18.   </tr>
  19.   <tr>
  20.    <th>Code :</th>
  21.    <td><html:text readonly="true" styleClass="readonly" property="subCode" /></td>
  22.   </tr>
  23.  </tbody></table>
  24. </div>
  25. <div class="borderedFrameCaptionBottom">
  26. <html:link action="filialeModify" target="_top">
  27.  Modifier &gt;&gt;&gt;
  28. </html:link>
  29. </div>


 
 

Code :
  1. <action
  2.    name="filialeForm"
  3.    path="/filialeRead"
  4.    scope="session"
  5.    type="com.total.rm.evie.reference.action.filiale.FilialeReadAction"
  6.    validate="false">
  7.       <forward name="success" path="filialeRead"></forward>
  8.       <forward name="failure" path="filialeRead"></forward>
  9.  </action>

Reply

Marsh Posté le 08-09-2005 à 10:33:04   

Reply

Marsh Posté le 09-09-2005 à 13:22:18    

t'as essayé en ajoutant une declaration de formulaire type <html:form... /> </html:form>

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed