Help with the struts 1.0 and iBatis issue

Discussions

General J2EE: Help with the struts 1.0 and iBatis issue

  1. Help with the struts 1.0 and iBatis issue (1 messages)

    Hi All,
       I have sent this message previously, I dont know why it wasnt answered.Hoping that this question will get posted and it is the right forum to ask this question.I am working on the example provided by http://www.reumann.net for the Ibatis.

       I am using tomcat 5.0.28 , eclipse 3.0 and Java 1.4.2.I get the index page of the application

    Once I click either of the links I get the following error on the browser.Http 500 error

    [BOLD]
    "javax.servlet.ServletException: Cannot find bean under name departments
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:825)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:758)
    org.apache.jsp.employeeForm_jsp._jspService(employeeForm_jsp.java:154)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1069)
    org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:455)
    org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:279)
    org.apache.struts.action.ActionServlet.process(ActionServlet.java:1480)
    org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:506)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:802)"
    [/BOLD]
    It would be great if someone helps me out in detail as to what is to be done to get this application up and running.I am trying to use MS access database.

    Many thanks in advance.

    Thanking you
    AS
  2. AS,

    You need to pass a bean called "departments" in whichever scope you used in your jsp page.

    As for a detailed explanation of how to integrate MSAccess, you'll probably need to read a few tutorials online. Ask again when you have specific questions that aren't answered by google.

    sv