• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp:include two times in the same page  RSS feed

 
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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!