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-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 
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

Reply via email to