Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

forward() does not work with jsp:include  RSS feed

 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!