You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "mysql@oh-baby.net" <my...@oh-baby.net> on 2001/09/03 11:27:06 UTC

Serving a modified file

Hi!

I'm using Tomcat 3.2.3.

Into my '$TOMCAT_HOME/webapps/ROOT/' directory, I've got 'myfile',
and I want users get a modified version of it.

I mean. 'myfile' is a plain-text file, and I want to remove the
first line, so users can not visualize it. Besides, I want to
add an extension, so I try to serve 'myfile.txt'.

What must I do?

+ Must I create a EJB?
+ Must I create a /temp/myfile.txt?

Regards,

---------------------------------------------------------
This mail was sent through Eoffice: http://www.eoffice.dk