struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sreekanth S. Nair" <sreekanth.n...@egovernments.org>
Subject Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15
Date Mon, 15 Jul 2013 07:11:13 GMT
/* basically works but i felt its unnecessary to map filter with /* url
pattern. As you said extracting all static resource to appropriate folder
would work. But i have no idea about which / what all have to be extracted
(even this may help in strust2 performance). Since i have posted a query
long back regarding the performance tuning part, but the answer i got
doesn't cover from which all jars and what are the files have to be
extracted.

-- 
Thanks & Regards
Srikanth


On Mon, Jul 15, 2013 at 12:28 PM, Lukasz Lenart <lukaszlenart@apache.org>wrote:

> 2013/7/13 Sreekanth S. Nair <sreekanth.nair@egovernments.org>:
> > Hi,
> >
> > I'm getting the following exception when i try to use
> > strust2-jquery-plugin, My web.xml fragment for struts2 as follows.
> >
> > <filter-mapping>
> > <filter-name>struts2Prepare</filter-name>
> > <url-pattern>*.action</url-pattern>
> > </filter-mapping>
> > <filter-mapping>
> > <filter-name>sitemesh</filter-name>
> > <url-pattern>*.action</url-pattern>
> > <url-pattern>*.jsp</url-pattern>
> > <dispatcher>REQUEST</dispatcher>
> > <dispatcher>FORWARD</dispatcher>
> > <dispatcher>INCLUDE</dispatcher>
> > </filter-mapping>
> > <filter-mapping>
> > <filter-name>struts2Execute</filter-name>
> > <url-pattern>*.action</url-pattern>
> > </filter-mapping>
> >
> > Without jquery-struts2-plugin its working
>
> Why do you map Struts2 filter just to *.action? What about static
> resources served by the framework? Change mapping to catch all
> requests (/*) or extract all static resources into appropriate
> folders.
>
>
> Regards
> --
> Ɓukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message