wood burning stoves 2.0*
The moose likes JSP and the fly likes getting garbage values while printing through JSPWriter Object Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "getting garbage values while printing through JSPWriter Object" Watch "getting garbage values while printing through JSPWriter Object" New topic
Author

getting garbage values while printing through JSPWriter Object

akshay pandit
Ranch Hand

Joined: Jun 15, 2003
Posts: 44
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: getting garbage values while printing through JSPWriter Object