Results 1 to 1 of 1

Thread: No WebApplicationContext found: not in a DispatcherServlet request

  1. #1
    Join Date
    Apr 2010
    Posts
    1

    Thumbs up No WebApplicationContext found: not in a DispatcherServlet request

    Hi,

    I'm getting this error while i'm trying to use the spring valang validation. I guess, it's because of the URI for valang is not proper. I'm currently using "http://www.springmodules.org/tags/valang". While i'm trying to open this uri in browser it says "Sorry, the resource you were looking for was not found". Anyone knows about the latest uri for valang taglib. Please help me to solve this issue.


    java.lang.IllegalStateException: No WebApplicationContext found: not in a DispatcherServlet request?
    org.springframework.web.servlet.support.RequestCon textUtils.getWebApplicationContext(RequestContextU tils.java:79)
    org.springframework.web.servlet.support.RequestCon textUtils.getWebApplicationContext(RequestContextU tils.java:56)
    org.springframework.web.servlet.support.RequestCon text.<init>(RequestContext.java:92)
    org.springframework.web.servlet.support.RequestCon text.<init>(RequestContext.java:78)
    org.springframework.web.servlet.tags.RequestContex tAwareTag.doStartTag(RequestContextAwareTag.java:8 5)
    org.apache.jsp.WebContent.WEB_002dINF.jsp.person_j sp._jspx_meth_valang_codebase_0(org.apache.jsp.Web Content.WEB_002dINF.jsp.person_jsp:471)
    org.apache.jsp.WebContent.WEB_002dINF.jsp.person_j sp._jspService(org.apache.jsp.WebContent.WEB_002dI NF.jsp.person_jsp:94)
    org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:97)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
    org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:322)
    org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:291)
    org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:241)
    javax.servlet.http.HttpServlet.service(HttpServlet .java:802)


    Thanks in advance
    Last edited by pragash; Apr 23rd, 2010 at 02:39 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •