• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp:root

 
Ajai
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All ,
I am facing one problem .
I have a file named Min.jsp in XML syntax with this content ...
<jsp:root
xmlns:jsp ="http://www.java.sun.com/JSP/Page"
version ="2.0">
<jsp:text>
HELLO
<jsp irective.include file="min2.s" />
RANCH
</jsp:text>
</jsp:root>
and min2.s contains
JAVA
I get this output JAVA HELLO RANCH
but I think its should be HELLO JAVA RANCH which I got using JSP syntax .
TIA,
Buggi .
 
Jessica Sant
Sheriff
Posts: 4313
Android IntelliJ IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what if you try it like this:
 
Ajai
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes , It gives the result as expected.
So shall I infer that each time I use template text I should close it immediately.
Thanks ,
Buggi.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic