try{
     File file = new File("text.txt"); 
     FileReader in = new FileReader(file);
     FileWriter out = new FileWriter(file);
}
catch (IOException ex) <<-- could be wrong about the Excpetion here..
{
}
Sun has a bunch of tutorials on this, also check out the API listings
on Java's website. Best of luck.

Andrew

On 4/15/05, Richard Reyes <[EMAIL PROTECTED]> wrote:
> Hello Guys,
> 
> I need to access a file from inside an actions class. I will use its
> content as email contents.
> 
> Regards
> Richard
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to