Hi, On 03/04/07, José de Menezes Soares Neto <[EMAIL PROTECTED]> wrote:
Hi again friends, I've made a searchAction in IndexController. But, when I do a search, the url shown is: http://localhost/project/index/search?query=test <snipped> Cause it is more beautiful. In other way, the best way I think, the url could be: http://localhost/project/search/test And it calls the search engine and lists all the results for the word "test" The problem for this last url is the form submission, cause it constructs search?test and not search/test Maybe using a javascript... does anybody knows where I can found about it?
I'm no expert by any stretch of the imagination so best wait for a real answer, but if it was me, rather than create a searchAction in the IndexController, I would create a SearchController, with the default action doing the search. That should get the URL's looking more how you want them. Thanks, Alan.
