Re: [Stripes-users] actiona name without .action suffix
I see. thanks. - Original Message - From: Ben Gunter bgun...@cpons.com To: Stripes Users List stripes-users@lists.sourceforge.net Sent: Friday, January 13, 2012 4:47:30 PM Subject: Re: [Stripes-users] actiona name without .action suffix I think Samuel meant to point you to DynamicMappingFilter, which was introduced with clean URLs. http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/controller/DynamicMappingFilter.html -Ben On Fri, Jan 13, 2012 at 4:18 PM, ted_smith2...@comcast.net wrote: That would require prefixing with something like /context/action/actionaName I was looking to /context/actionaName without the /action/ prefix part. From: Samuel Santos sama...@gmail.com To: Stripes Users List stripes-users@lists.sourceforge.net Sent: Friday, January 13, 2012 9:16:41 AM Subject: Re: [Stripes-users] actiona name without .action suffix It is possible using clean URLs. See slide #16 at http://www.slideshare.net/samaxes/java-web-development-with-stripes . Cheers, -- Samuel Santos http://www.samaxes.com/ On Fri, Jan 13, 2012 at 9:26 AM, ted_smith2...@comcast.net wrote: blockquote I am using freemarker servlet-mapping servlet-nameFreemarker/servlet-name url-pattern*.ftl/url-pattern /servlet-mapping in order to do this, I have to put .action servlet-mapping servlet-nameStripesDispatcher/servlet-name url-pattern*.action/url-pattern /servlet-mapping without explicit suffix, if I just use url-pattern*/url-pattern *.ftl are also sent to the dispatchers instead of freemarker servlet. Is there any way to work around this so that I can use url like http://host/context/createuser instead of http://host/context/createuser.action Thanks -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users /blockquote -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
[Stripes-users] actiona name without .action suffix
I am using freemarker servlet-mapping servlet-nameFreemarker/servlet-name url-pattern*.ftl/url-pattern /servlet-mapping in order to do this, I have to put .action servlet-mapping servlet-nameStripesDispatcher/servlet-name url-pattern*.action/url-pattern /servlet-mapping without explicit suffix, if I just use url-pattern*/url-pattern *.ftl are also sent to the dispatchers instead of freemarker servlet. Is there any way to work around this so that I can use url like http://host/context/createuser instead of http://host/context/createuser.action Thanks -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] actiona name without .action suffix
It is possible using clean URLs. See slide #16 at http://www.slideshare.net/samaxes/java-web-development-with-stripes. Cheers, -- Samuel Santos http://www.samaxes.com/ On Fri, Jan 13, 2012 at 9:26 AM, ted_smith2...@comcast.net wrote: I am using freemarker servlet-mapping servlet-nameFreemarker/servlet-name url-pattern*.ftl/url-pattern /servlet-mapping in order to do this, I have to put .action servlet-mapping servlet-nameStripesDispatcher/servlet-name url-pattern*.action/url-pattern /servlet-mapping without explicit suffix, if I just use url-pattern*/url-pattern *.ftl are also sent to the dispatchers instead of freemarker servlet. Is there any way to work around this so that I can use url like http://host/context/createuser instead of http://host/context/createuser.action Thanks -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] actiona name without .action suffix
That would require prefixing with something like /context/action/actionaName I was look ing to /context/actionaName without the /action/ prefix part. - Original Message - From: Samuel Santos sama...@gmail.com To: Stripes Users List stripes-users@lists.sourceforge.net Sent: Friday, January 13, 2012 9:16:41 AM Subject: Re: [Stripes-users] actiona name without .action suffix It is possible using clean URLs. See slide #16 at http://www.slideshare.net/samaxes/java-web-development-with-stripes . Cheers, -- Samuel Santos http://www.samaxes.com/ On Fri, Jan 13, 2012 at 9:26 AM, ted_smith2...@comcast.net wrote: I am using freemarker servlet-mapping servlet-nameFreemarker/servlet-name url-pattern*.ftl/url-pattern /servlet-mapping in order to do this, I have to put .action servlet-mapping servlet-nameStripesDispatcher/servlet-name url-pattern*.action/url-pattern /servlet-mapping without explicit suffix, if I just use url-pattern*/url-pattern *.ftl are also sent to the dispatchers instead of freemarker servlet. Is there any way to work around this so that I can use url like http://host/context/createuser instead of http://host/context/createuser.action Thanks -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] actiona name without .action suffix
I think Samuel meant to point you to DynamicMappingFilter, which was introduced with clean URLs. http://stripes.sourceforge.net/docs/current/javadoc/net/sourceforge/stripes/controller/DynamicMappingFilter.html -Ben On Fri, Jan 13, 2012 at 4:18 PM, ted_smith2...@comcast.net wrote: That would require prefixing with something like /context/action/actionaName I was looking to /context/actionaName without the /action/ prefix part. -- *From: *Samuel Santos sama...@gmail.com *To: *Stripes Users List stripes-users@lists.sourceforge.net *Sent: *Friday, January 13, 2012 9:16:41 AM *Subject: *Re: [Stripes-users] actiona name without .action suffix It is possible using clean URLs. See slide #16 at http://www.slideshare.net/samaxes/java-web-development-with-stripes. Cheers, -- Samuel Santos http://www.samaxes.com/ On Fri, Jan 13, 2012 at 9:26 AM, ted_smith2...@comcast.net wrote: I am using freemarker servlet-mapping servlet-nameFreemarker/servlet-name url-pattern*.ftl/url-pattern /servlet-mapping in order to do this, I have to put .action servlet-mapping servlet-nameStripesDispatcher/servlet-name url-pattern*.action/url-pattern /servlet-mapping without explicit suffix, if I just use url-pattern*/url-pattern *.ftl are also sent to the dispatchers instead of freemarker servlet. Is there any way to work around this so that I can use url like http://host/context/createuser instead of http://host/context/createuser.action Thanks -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users