- This topic has 2 replies, 2 voices, and was last updated 19 years, 2 months ago by Marc Siramy.
-
AuthorPosts
-
Marc SiramyMemberHello,
I\’m looking for solutionning a problem I\’ve found by doing the Struts Tutorial, in the \’BasicAction\’ section. I don\’t have WebLogic for deploying the application and I \’ve tried to deploy it on Tomcat 5 and in JBoss. The deploy process work, even if I deploy BasicAction app. with the help of my Eclipse or by pasting directly the .war file given with the source of the tutorial.
When I launch browser at http://localhost:8080/BasicAction/ it correctly display the Index.jsp . But I click on the link (Echo in), the browser displays the following error:HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: No getter method for property message of bean org.apache.struts.taglib.html.BEAN org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:848) org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:781) org.apache.jsp.jsp.pages.Echo_jsp._jspService(org.apache.jsp.jsp.pages.Echo_jsp:99) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) internalModuleRelativeForward(RequestProcessor.java:1012) org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) > javax.servlet.http.HttpServlet.service(HttpServlet.java:697) > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81) > root cause > javax.servlet.jsp.JspException: No getter method for property message of bean org.apache.struts.taglib.html.BEAN > org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:968) > org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:176) > org.apache.jsp.jsp.pages.Echo_jsp._jspx_meth_html_text_0(org.apache.jsp.jsp.pages.Echo_jsp:240) > org.apache.jsp.jsp.pages.Echo_jsp._jspx_meth_html_form_0(org.apache.jsp.jsp.pages.Echo_jsp:204) > org.apache.jsp.jsp.pages.Echo_jsp._jspx_meth_html_html_0(org.apache.jsp.jsp.pages.Echo_jsp:141) > org.apache.jsp.jsp.pages.Echo_jsp._jspService(org.apache.jsp.jsp.pages.Echo_jsp:91) > org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:322) > org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) > org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069) > org.apache.struts.action.RequestProcessor.internalModuleRelativeForward(RequestProcessor.java:1012) > org.apache.struts.action.RequestProcessor.processForward(RequestProcessor.java:582) > org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:260) > org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) > org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) > javax.servlet.http.HttpServlet.service(HttpServlet.java:697) > javax.servlet.http.HttpServlet.service(HttpServlet.java:810) > org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:81)
I’ll thank for any help
Marc
Riyad KallaMemberMarc,
This really isn’t enough information to go on. Please paste the code for your ActionForm, and the code for your JSP page that uses the message property in it that is throwing this exception and possibly your struts-config file.
Marc SiramyMemberHello,
I apalogize about this error which is due to my own:
I forgot the ” getMessage() ” method in com.nscorp.struts_class.form.EchoForm class.Now I have an ” Validation Error ” message displayed in browser. Because it’s late now for me,
I’ll take a look on it tomorrow.Marc
-
AuthorPosts