struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Lawrence <>
Subject Re: Don't expose .action to user?
Date Fri, 20 Jul 2007 16:06:30 GMT
I have a solution that seems to work. Feedback on whether it is a good 
solution or rather, why it is not, would be wonderful.

Executive summary:
  map *.action to struts filter
  add main.action as the first entry in web.xml's welcome list

Have all user-visible urls look like directories:

For urls that will be handled by an action, add a file main.action to 
the directory.

Original post is here:

You send us code. We send back tests. For free.

Perssy Llamosas wrote:
> You can't get rid of the ".action", at least in my tests I have not 
> being able to map a clean url without the ".action". Even the 
> Restful2ActionMapper requires a .action at the end.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message