Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

getting garbage values while printing through JSPWriter Object

 
akshay pandit
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
your's
akshay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic