Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

thread safety probllem of using jsp:inclue file=."fileOne".  RSS feed

 
Steve Yu
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a central servlet that forwards to a JSP and in the JSP, I put <jsp:include file="fileOne"> in my JSP page. Since there may be many simulataneous request to the servlet, is it thread safe for reading the "fileOne" using <jsp:include file=".."> syntax in a JSP page ?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you are just reading there should be no problem.
 
David Hibbs
Ranch Hand
Posts: 374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by William Brogden:
Since you are just reading there should be no problem.

...provided that your servlet is not creating or modifying file1, anyway...
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!