• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

jsp:root

 
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 .
 
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.
 
I am not a spy. Definitely. Definitely not a spy. Not me. No way. But this tiny ad ...
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic