Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Forward to a JSP  RSS feed

 
jack klein
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm trying to forward to a JSP by a RequestDispatcher. It is an easy issue, but the JSP is in a library (inside a JAR file). It is posible to forward to a JSP which is inside a library?

I've tried with a RequestDispatcher but it doesn't work. It seems that it works with the JSPs there are inside WebContent folder.

Anybody can help me?

Thanks in advance.
 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes you are correct.For request dispatcher to work correctly you should place jsps inside your context path.You can precompile JSPs also
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!