NanoContainer
  1. NanoContainer
  2. NANO-61

NanoWebServlet fail to load script actions

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0-beta-1
    • Component/s: nanowar
    • Labels:
      None
    • Environment:
      Groovy 1.0 beta4, Jetty 4.2.19, Tomcat 4.1.30, Tomcat 5.0.19
    • Number of attachments :
      1

      Description

      Script action demo.groovy cause

      javax.servlet.ServletException: No action found for '/demo.groovy'
      org.nanocontainer.nanoweb.NanoWebServlet.getAction(NanoWebServlet.java:90)
      org.nanocontainer.nanoweb.NanoWebServlet.service(NanoWebServlet.java:59)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:856)

      Currently, script actions are searched from ClassLoader for NanoWebServlet. But, it should be searched from ServletContext.

        Activity

        Kouhei Mori made changes -
        Field Original Value New Value
        Attachment NanoWebServlet.diff [ 11730 ]
        Aslak Hellesøy made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s 1.0-beta-1 [ 10147 ]
        Assignee Aslak Hellesoy [ rinkrank ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Aslak Hellesøy
            Reporter:
            Kouhei Mori
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: