Here is a
test :
If I use a ".jsp" file, the include is working and the forward too.
If I use a ".txt" file, the forward works (but the jstl and the scriplets are not parsed by the server)
If I use a ".txt" file with the include, it doesn't work at all, I get a "getOutputStream() has already been called for this response". Is that normal?
I'm trying to do this because my client has an application that outputs .txt files on the server, and I needed to add java code to the files. I could rename the .txt to .jsp in the servlet before including it, but I'll have to keep track of deleted files etc. And it's alse a performance issue.