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, <[email protected]> wrote:

> I am using freemarker
>
>    <servlet-mapping>
>         <servlet-name>Freemarker</servlet-name>
>         <url-pattern>*.ftl</url-pattern>
>     </servlet-mapping>
>
> in order to do this, I have to put .action
>     <servlet-mapping>
>         <servlet-name>StripesDispatcher</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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to