I have a web application made with Struts2 . I'm using struts2-Jquery plugin.
With this setting in the jsp head section:
<%@ taglib prefix="sj" uri="/struts-jquery-tags" %> <head> <sj:head/> </head>
Everything is fine, the generated HTML code looks like this:
Regarding to the API: https://code.google.com/p/struts2-jquery/wiki/HeadTag If I change the sj:head to it:
Then the generated code will looks like this (as it expected):
But this request gives me a 404 error from the server.
I can create the directories, and put in the required js files, but I want, that these request would be served by Struts. As it worked in the first case.
My Struts2 filter is mapped to: /*
<filter-mapping> <filter-name>struts2</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>