Re: best practices in struts 2.1 - Tiles and Convention - clean URLs with minimum number of actions

2009-12-24 Thread Wes Wannemacher
Charles, I haven't really found any way to get around the setup you are talking about... If you want validation, you pretty much have to map to different actionable URLs. From the framework's perspective, it really can't know that you want validation or not without different request URLs. The

Re: best practices in struts 2.1 - Tiles and Convention - clean URLs with minimum number of actions

2009-12-23 Thread Paweł Wielgus
Hi Chuck, i'm also addicted to convention and i do it like that: /register!input (i don't remember well if it is ! or some other character but that is possible for sure) If one call such an address his browser will land on input result with no validation being fired. Also if You want to depent on

best practices in struts 2.1 - Tiles and Convention - clean URLs with minimum number of actions

2009-12-22 Thread Charles Parker
I'm using struts 2.1.8.1 here and have a question about best practices in the following situation: I have a form page, 'register'. It takes several fields, username, password, etc. I want the initial form page to be rendered via GET: http://my.server.net/register This shows the blank form