This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Servlets and the fly likes file read/write Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "file read/write" Watch "file read/write" New topic
Author

file read/write

vikas mishra
Greenhorn

Joined: Jan 28, 2004
Posts: 26
hello
i am using a servlet file writing in file can i set font size and type of font
Brahim Bakayoko
Ranch Hand

Joined: Aug 29, 2003
Posts: 155
Nope, but you can set the character set.


SCJP, SCWCD, SCBCD, IBM CSD WebSphere v5, <br />A+, MCP 2000 and 2000 server, CST, and few incompleted certification tracks.<br /> <br />Ivory Coast<br /> <br />Analyze your web Request/Response @ <a href="http://webtools.servehttp.com" target="_blank" rel="nofollow">http://webtools.servehttp.com</a> down for a while...
Prakash Dwivedi
Ranch Hand

Joined: Sep 28, 2002
Posts: 452
it entirely depends upon the format of ur output File.
In case u r generating Text File, u can't specify Font Size etc
But in case u choose to generate PDF, HTML, RTF format u can specify font type and size.


Prakash Dwivedi (SCJP2, SCWCD, SCBCD)
"Failure is not when you fall down, Its only when you don't get up again"
 
Have you checked out Aspose?
 
subject: file read/write
 
It's not a secret anymore!