File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

file read/write

vikas mishra

Joined: Jan 28, 2004
Posts: 26
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="" target="_blank" rel="nofollow"></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"
I agree. Here's the link:
subject: file read/write
It's not a secret anymore!