File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

forward() does not work with jsp:include

Mr. Fireball
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to do some stuff before each servlet request. So I wrote a servlet an mapped jsp to that servlet. At the end of the doGet() method I fetch the RequestDispatcher for jsp (defined in Tomcat web.xml) and forward it.

Everythig works fine with static includes like <% include ...>, but not with dynamic includes. Either i get infinite loops or the page aborts.

Any ideas?
Thank you in advance,
I agree. Here's the link:
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic