Struts2-core & dojo-plugin is fine and its straight forward. But in jquery
plugin there is no static folder, one template folder is there (this
contains both flt and some js and css).

-- 
Thanks & Regards
Srikanth
Software Developer
--------------------------------
eGovernments Foundations
www.egovernments.org
Mob : 9980078913
--------------------------------


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

> It's very easy, extract struts2-core and check folder structure, the
> same with jquery plugin. You can also disable serving static content
> by Struts
>
> http://struts.apache.org/development/2.x/docs/static-content.html
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2013/7/15 Sreekanth S. Nair <sreekanth.n...@egovernments.org>:
> > /* 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 <lukaszlen...@apache.org
> >wrote:
> >
> >> 2013/7/13 Sreekanth S. Nair <sreekanth.n...@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-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: user-h...@struts.apache.org
> >>
> >>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>
>

Reply via email to