• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Simple tag output

 
Sandeep Krish
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
PageContext context = (PageContext) getJspContext();
JspWriter out = context.getOut();
for (int i=0;i<5;i++:
out.print("<h1>Hi There </h1>");

Above code prints Hi there in broswer. Does this content get appended with the actual response? In what context can I use getJspBody().invoke(null)?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic