Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

RequestDispatch visiting jsp should be fine  RSS feed

 
Kyle Tang
Ranch Hand
Posts: 78
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yeah, this should be fine.
can't visit WEB-INF means if the client types url under WEB-INF, servlet container will return an error code.
but if your servlet use RequestDispatcher to forward or include a source under WEB-INF, it is legal. but it is not a good idea to put jsp under WEB-INF.
Kyle
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!