On 08/08/2024 15:03, Jalaj Asher wrote:
HI Mark/Chris,
I wanted to check if you could review the below template and see if you have 
any suggestions on the syntax
I did try a lot of different options but none of them worked. >
Below is another example

<CacheStrategy className="org.apache.catalina.WebResourceRoot$CacheStrategy" 
nocache="C:\xxx\tomcat\webapps\mobiledoc\WEB-INF\lib\abc.jar"/>

That won't work.

CacheStrategy is an interface. You have to implement the interface. Chris provided you with a partial example earlier in this thread.

<snip/>

@Override

public boolean noCache(String path) {
      return !path.endsWith(".jar");
}

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to