• Post Reply Bookmark Topic Watch Topic
  • New Topic

getting garbage values while printing through JSPWriter Object  RSS feed

Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi to all,
I tried to make a TLD,and just printed current date through the Object of JSPWriter which I get from pageContext:"JSPWriter out = pagecontext.getOut();" when I'm printing the current date it is printed in JSP but with that i'm getting the garbage values like " font='arial'/par/par/par" all over JSP
I tried to clear the buffer before printing with "out.clearBuffer()" but this clears just upper part of jsp(i mean before the current date is printed)... what should i do... i'm totally new to Jsp tag libs..
and also if some body can tell me that why the tei class is used.. if I can get a full proper example implementing taglibs then it would be a gr8 help..
I'm using tomcat as the server...
thanks in advance
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!