Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-16 Thread Lukasz Lenart
2013/7/15 Sreekanth S. Nair :
> Sorry i didn get you.
>
> You mean directly under WebContant folder? Is like this the following
>
> struts2-core.jar/ template to WebContent/template
> struts2-jquery-plugin/template to WebContent/template (as it is or static
> and .flt should be in seperate folder )

Templates have to be on classpath. But links generated to static
content in WebContent. Simply open source of generated page to see
what I mean.


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



Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
Even extracting static content to local web-app also throwing the same
error if we don't mapped with /*.


-- 
Thanks & Regards
Srikanth
Software Developer

eGovernments Foundations
www.egovernments.org
Mob : 9980078913



On Mon, Jul 15, 2013 at 1:51 PM, Sreekanth S. Nair <
sreekanth.n...@egovernments.org> wrote:

> Sorry i didn get you.
>
> You mean directly under WebContant folder? Is like this the following
>
> struts2-core.jar/ template to WebContent/template
> struts2-jquery-plugin/template to WebContent/template (as it is or static
> and .flt should be in seperate folder )
>
> strust2-core.jar/org/apache/struts2/static/  to where ?
>
>
> --
> Thanks & Regards
> Srikanth
> Software Developer
> 
> eGovernments Foundations
> www.egovernments.org
> Mob : 9980078913
> 
>
>
> On Mon, Jul 15, 2013 at 1:43 PM, Lukasz Lenart wrote:
>
>> 2013/7/15 Sreekanth S. Nair :
>> > Sorry to bother you,
>> > templates (.flt) has to be put inside template folder thats quite right
>> but
>> > still confused with freemarker template to be moved or not.
>> >
>> > My doubt is not about template files but about the these static
>> contents.
>> > Where i have to add these static files ? inside a *static* or
>> > *struts*directory ?
>>
>> Extract and move as a whole.
>>
>>
>> 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
>>
>>
>


Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
Sorry i didn get you.

You mean directly under WebContant folder? Is like this the following

struts2-core.jar/ template to WebContent/template
struts2-jquery-plugin/template to WebContent/template (as it is or static
and .flt should be in seperate folder )

strust2-core.jar/org/apache/struts2/static/  to where ?


-- 
Thanks & Regards
Srikanth
Software Developer

eGovernments Foundations
www.egovernments.org
Mob : 9980078913



On Mon, Jul 15, 2013 at 1:43 PM, Lukasz Lenart wrote:

> 2013/7/15 Sreekanth S. Nair :
> > Sorry to bother you,
> > templates (.flt) has to be put inside template folder thats quite right
> but
> > still confused with freemarker template to be moved or not.
> >
> > My doubt is not about template files but about the these static contents.
> > Where i have to add these static files ? inside a *static* or
> > *struts*directory ?
>
> Extract and move as a whole.
>
>
> 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
>
>


Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Lukasz Lenart
2013/7/15 Sreekanth S. Nair :
> Sorry to bother you,
> templates (.flt) has to be put inside template folder thats quite right but
> still confused with freemarker template to be moved or not.
>
> My doubt is not about template files but about the these static contents.
> Where i have to add these static files ? inside a *static* or
> *struts*directory ?

Extract and move as a whole.


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



Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Lukasz Lenart
2013/7/15 Sreekanth S. Nair :
> Some legacy jsp's are still using dojo tags, to keep it we are maintaining
> dojo.  And about Jquery, template/jquery/ folder contains .flt, what i have
> to do with this? once i extracted where i suppose to add in My web app,
> static or struts  directory?

Put next to other static contents as jQuery plugin basically is a theme

http://struts.apache.org/development/2.x/docs/template-loading.html


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



Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
Sorry to bother you,
templates (.flt) has to be put inside template folder thats quite right but
still confused with freemarker template to be moved or not.

My doubt is not about template files but about the these static contents.
Where i have to add these static files ? inside a *static* or
*struts*directory ?

-- 
Thanks & Regards
Srikanth
Software Developer

eGovernments Foundations
www.egovernments.org
Mob : 9980078913



On Mon, Jul 15, 2013 at 1:27 PM, Lukasz Lenart wrote:

> 2013/7/15 Sreekanth S. Nair :
> > Some legacy jsp's are still using dojo tags, to keep it we are
> maintaining
> > dojo.  And about Jquery, template/jquery/ folder contains .flt, what i
> have
> > to do with this? once i extracted where i suppose to add in My web app,
> > static or struts  directory?
>
> Put next to other static contents as jQuery plugin basically is a theme
>
> http://struts.apache.org/development/2.x/docs/template-loading.html
>
>
> 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
>
>


Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
Some legacy jsp's are still using dojo tags, to keep it we are maintaining
dojo.  And about Jquery, template/jquery/ folder contains .flt, what i have
to do with this? once i extracted where i suppose to add in My web app,
static or struts  directory?

-- 
Thanks & Regards
Srikanth
Software Developer

eGovernments Foundations
www.egovernments.org
Mob : 9980078913



On Mon, Jul 15, 2013 at 1:10 PM, Lukasz Lenart wrote:

> 2013/7/15 Sreekanth S. Nair :
> > 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).
>
> Why do you mix dojo plugin (deprecated) with jquery? And what I see,
> the folder template contains all static data.
>
>
> 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
>
>


Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Lukasz Lenart
2013/7/15 Sreekanth S. Nair :
> 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).

Why do you mix dojo plugin (deprecated) with jquery? And what I see,
the folder template contains all static data.


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



Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
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 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 :
> > /* 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  >wrote:
> >
> >> 2013/7/13 Sreekanth S. Nair :
> >> > Hi,
> >> >
> >> > I'm getting the following exception when i try to use
> >> > strust2-jquery-plugin, My web.xml fragment for struts2 as follows.
> >> >
> >> > 
> >> > struts2Prepare
> >> > *.action
> >> > 
> >> > 
> >> > sitemesh
> >> > *.action
> >> > *.jsp
> >> > REQUEST
> >> > FORWARD
> >> > INCLUDE
> >> > 
> >> > 
> >> > struts2Execute
> >> > *.action
> >> > 
> >> >
> >> > 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
>
>


Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Lukasz Lenart
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 :
> /* 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 
> wrote:
>
>> 2013/7/13 Sreekanth S. Nair :
>> > Hi,
>> >
>> > I'm getting the following exception when i try to use
>> > strust2-jquery-plugin, My web.xml fragment for struts2 as follows.
>> >
>> > 
>> > struts2Prepare
>> > *.action
>> > 
>> > 
>> > sitemesh
>> > *.action
>> > *.jsp
>> > REQUEST
>> > FORWARD
>> > INCLUDE
>> > 
>> > 
>> > struts2Execute
>> > *.action
>> > 
>> >
>> > 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



Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-15 Thread Sreekanth S. Nair
/* 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 wrote:

> 2013/7/13 Sreekanth S. Nair :
> > Hi,
> >
> > I'm getting the following exception when i try to use
> > strust2-jquery-plugin, My web.xml fragment for struts2 as follows.
> >
> > 
> > struts2Prepare
> > *.action
> > 
> > 
> > sitemesh
> > *.action
> > *.jsp
> > REQUEST
> > FORWARD
> > INCLUDE
> > 
> > 
> > struts2Execute
> > *.action
> > 
> >
> > 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
>
>


Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-14 Thread Lukasz Lenart
2013/7/13 Sreekanth S. Nair :
> Hi,
>
> I'm getting the following exception when i try to use
> strust2-jquery-plugin, My web.xml fragment for struts2 as follows.
>
> 
> struts2Prepare
> *.action
> 
> 
> sitemesh
> *.action
> *.jsp
> REQUEST
> FORWARD
> INCLUDE
> 
> 
> struts2Execute
> *.action
> 
>
> 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



Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15

2013-07-13 Thread Sreekanth S. Nair
Hi,

I'm getting the following exception when i try to use
strust2-jquery-plugin, My web.xml fragment for struts2 as follows.


struts2Prepare
*.action


sitemesh
*.action
*.jsp
REQUEST
FORWARD
INCLUDE


struts2Execute
*.action


Without jquery-struts2-plugin its working

31m15:17:31,089 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/egi].[jsp]]
(http-localhost/127.0.0.1:8080-2) JBWEB000236: Servlet.service() for
servlet jsp threw exception: The Struts dispatcher cannot be found.  This
is usually caused by using Struts tags without the associated filter.
Struts tags are only usable when the request has passed through its servlet
filter, which initializes the Struts dispatcher needed for this tag. -
[unknown location]
at org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:60)
[struts2-core-2.3.15.jar:2.3.15]
at
org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:44)
[struts2-core-2.3.15.jar:2.3.15]
at
org.apache.struts2.views.jsp.ComponentTagSupport.doStartTag(ComponentTagSupport.java:48)
[struts2-core-2.3.15.jar:2.3.15]
at
org.apache.jsp.decorators.default_002djquery_jsp._jspx_meth_sj_005fhead_005f0(default_002djquery_jsp.java:168)
at
org.apache.jsp.decorators.default_002djquery_jsp._jspService(default_002djquery_jsp.java:99)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:69)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:365)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:309)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:242)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
[jboss-servlet-api_3.0_spec-1.0.2.Final-redhat-1.jar:1.0.2.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:295)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:59)
[sitemesh-2.4.2.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:832)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:718)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:655)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
com.opensymphony.sitemesh.compatability.OldDecorator2NewDecorator.render(OldDecorator2NewDecorator.java:46)
[sitemesh-2.4.2.jar:]
at
com.opensymphony.sitemesh.webapp.decorator.BaseWebAppDecorator.render(BaseWebAppDecorator.java:33)
[sitemesh-2.4.2.jar:]
at
com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:84)
[sitemesh-2.4.2.jar:]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.egov.lib.rrbac.filter.RuleInterceptorFilter.doFilter(RuleInterceptorFilter.java:77)
[egov-egi.jar:]
at
org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:346)
[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:259)
[spring-web-3.2.3.RELEASE.jar:3.2.3.RELEASE]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.displaytag.filter.ResponseOverrideFilter.doFilter(ResponseOverrideFilter.java:125)
[displaytag-1.1.jar:1.1]
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
[jbossweb-7.2.0.Final-redhat-1.jar:7.2.0.Final-redhat-1]
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(Applic