Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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


Win a copy of The Software Craftsman this week in the Agile forum!
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"
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: file read/write