Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Serving a modified file

Status
Not open for further replies.

cadbilbao

Programmer
Apr 9, 2001
233
ES
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,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top