Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15
2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: 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/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-namestruts2Prepare/filter-name url-pattern*.action/url-pattern /filter-mapping filter-mapping filter-namesitemesh/filter-name url-pattern*.action/url-pattern url-pattern*.jsp/url-pattern dispatcherREQUEST/dispatcher dispatcherFORWARD/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping filter-mapping filter-namestruts2Execute/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
Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15
/* 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.orgwrote: 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-namestruts2Prepare/filter-name url-pattern*.action/url-pattern /filter-mapping filter-mapping filter-namesitemesh/filter-name url-pattern*.action/url-pattern url-pattern*.jsp/url-pattern dispatcherREQUEST/dispatcher dispatcherFORWARD/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping filter-mapping filter-namestruts2Execute/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
Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15
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.orgwrote: 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-namestruts2Prepare/filter-name url-pattern*.action/url-pattern /filter-mapping filter-mapping filter-namesitemesh/filter-name url-pattern*.action/url-pattern url-pattern*.jsp/url-pattern dispatcherREQUEST/dispatcher dispatcherFORWARD/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping filter-mapping filter-namestruts2Execute/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
Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15
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.orgwrote: 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-namestruts2Prepare/filter-name url-pattern*.action/url-pattern /filter-mapping filter-mapping filter-namesitemesh/filter-name url-pattern*.action/url-pattern url-pattern*.jsp/url-pattern dispatcherREQUEST/dispatcher dispatcherFORWARD/dispatcher dispatcherINCLUDE/dispatcher /filter-mapping filter-mapping filter-namestruts2Execute/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
Re: Error while using struts-jquery-plugin 3.6.0 + sitemesh-2.4.2.jar + struts 2.3.15
2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: 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
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 lukaszlen...@apache.orgwrote: 2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: 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
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 lukaszlen...@apache.orgwrote: 2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: 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/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: 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/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: 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
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 lukaszlen...@apache.orgwrote: 2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: 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
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 lukaszlen...@apache.orgwrote: 2013/7/15 Sreekanth S. Nair sreekanth.n...@egovernments.org: 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