• Post Reply Bookmark Topic Watch Topic
  • New Topic

Exceeded maximum depth for nested request dispatches

 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a quicky...

Why would this:
<c:import var="page_xml" url="/WEB-INF/xml/index_menu.xml" />

Cause the following error:
javax.servlet.ServletException: javax.servlet.ServletException: WEB2651: Exceeded maximum depth for nested request dispatches: 20

When my WebApp is run from '/' context root (Sun Java WebApp 9.0)
[ November 17, 2007: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just a guess: possibly because you've got a mapping in your web.xml like "/".
 
Kevin P Smith
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
DISCO!

My index servlet-mapping should have said '/index' in the URL pattern (I had '/').

Cheers for that, now I can starting moving forward (until the next issue).

KS
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Damn I'm good!
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By the way, please try to use more descriptive subjects. Not only did your question not end up being about JSTL, even if it did just "JSTL" isn't very descriptive.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!