Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

forward() does not work with jsp:include

 
Mr. Fireball
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
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,
Fireball
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic