P
Page
This has got to be the easiest question ever asked on this forum, but
since I have very little Java experience and can not seem to find
anything about this, I would appreciate if someone could take two
minutes and tell me what Java code I would need to get a servlet to
perform the following Perl code:
open (MYFILE, "filename.pdf") || die;
binmode STDOUT; # this line needed for win32 machines but not needed
on Unix
binmode MYFILE; # this line needed for win32 machines but not needed
on Unix
print <MYFILE>;
close (MYFILE);
since I have very little Java experience and can not seem to find
anything about this, I would appreciate if someone could take two
minutes and tell me what Java code I would need to get a servlet to
perform the following Perl code:
open (MYFILE, "filename.pdf") || die;
binmode STDOUT; # this line needed for win32 machines but not needed
on Unix
binmode MYFILE; # this line needed for win32 machines but not needed
on Unix
print <MYFILE>;
close (MYFILE);