Announcement Announcement Module
Collapse

Spring Modules forum decommissioned in favor of Spring Extensions

As the Spring Modules project has been replaced by the Spring Extensions (http://www.springsource.org/extensions) project, this forum has been decommissioned in favour of Spring Extensions one at:
http://forum.springsource.org/forumdisplay.php?f=44

Please see the Spring Extensions home page for a complete list of current projects in Java, .NET and ActionScript. You can also propose one if you want.

Cheers,
Costin Leau
SpringSource - http://www.SpringSource.com- Spring Training, Consulting, and Support - "From the Source"
http://twitter.com/costinl
See more
See less
No WebApplicationContext found: not in a DispatcherServlet request Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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, 03:39 AM.
Working...
X