Hello,

I had a need for my JavaScript to know the pathing of the webapp it came from and the most straightforward way was to use the JSP processor on it.

This worked nicely.

However, I lost all the headers that allow the browser to cache the contents.

I did my own hacky servlet filter but would prefer to not have to maintain it and QA it against various browsers in the future.

Does anyone have a better solution? Did I miss something in the JSP or Tomcat documentation that would do the cache headers like default servlet does?

thanks,
greg


---------------------------------------------------------------------
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