• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp:include two times in the same page

 
Aleks V. Pascoal
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Folks,
i've been out sometime. I need some help, how can i use 2 times (jsp:include) in the same page for the same servlet.
<jsp:include page="br.net.Ctrl"/>
<jsp:include page="br.net.Ctrl"/>
If i do that just the first one occurrs right. Why is that?
Thanks a lot!!!
 
Maha Annadurai
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Aleks,
Here is an example I played with.

Output at Browser:
------------------
1111 Hello 222 Hello 333 Hello
Please post your code in both files for us to further discuss. Thanks.
Regards,
Maha Anna
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!