PlanetJava
Custom Search

java-stripes-user
[Top] [All Lists]

Re: clean urls without /action/*

Subject: Re: clean urls without /action/*
Date: Wed, 06 Feb 2008 13:16:24 -0600
Seems like extra work for little gain.  What is the problem with 
/action/home or /page/home or whatever you might choose?
Gregg
Allen Halsey wrote:
> Leonard Gestrin wrote:
>   
>> Or,  if it is an absolute must, you can map each of urls that you want
>> stripes to process individually.
>>
>>     <servlet-mapping>
>>
>>         <servlet-name>StripesDispatcher</servlet-name>
>>
>>         <url-pattern>home</url-pattern>
>>
>>     </servlet-mapping>
>>
>>     <servlet-mapping>
>>
>>         <servlet-name>StripesDispatcher</servlet-name>
>>
>>         <url-pattern>login</url-pattern>
>>
>>     </servlet-mapping>
>>
>> ....
>>
>> , but this is exactly one of the problems that stripes has solved. 
>>
>>
>>     
>
> It would be good if the build process could automatically add these servlet 
> mappings based on the url mappings.
>
> Allen
>
>
>
>   
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
msgmiddle
<Prev in Thread] Current Thread [Next in Thread>
Current Sitemap | © 2012 planetjava | Contact | Privacy Policy