-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin,

MartinV wrote:
| Hi list,
| I've got a task to solve and I don't have any clue where to start. Here's
| the chain for delivering a resource like a JSP file to client.
|
| 1)Client => 2)Request => 3)Modify Resource => 4)Normal Handling like
| JSP-Compiling => 5)Response => 6)Client

Er... huh? You want to modify a JSP on the fly before it gets compiled
and run? Okay...

| I need to modify the needed resource before handling within the jsp
| compiler. The best would be to read the file, modify it and than pass it
| (maybe as a stream) to the compiler but it seems that it wouldn't work.

Why not just modify it on the disk and use reloadable JSPs?

| At
| first I thought about Filters but I could apply them only after the
| compiling process.

That doesn't sound right. You can apply a filter before a request is
handled (by the JSP servlet) if you want.

| I hope that anyone has an idea/hint for me where to look/what to do or
| otherwise could tell me that I'm barking up the wrong tree and it is for
| sure not possible to modify the file before handling it.

Maybe you could explain what you're really trying to do and we could
suggest an alternative. What you say you're doing is quite... hacky.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg/FXsACgkQ9CaO5/Lv0PDjJQCgv6vWbWoOGnpjR+nNWptWnrmf
BMYAoMPgMYFDYk0qarU3AIGagYpaTNh3
=nMXX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to