Re: parameters in url

2010-09-15 Thread venkatt
i resolved the issue with the following settings in strtus.xml {1} {2} its working propely with the url http://localhost/context/param1/Contact/param2 even i tried with multiple params alsoi.e > I find

Re: parameters in url

2010-09-14 Thread venkatt
Hi.. any sample code how to use i tried with the following code not successful ... struts.xml {1} {0} in action public class ContactController

Re: parameters in url

2009-09-30 Thread Musachy Barroso
no, unfortunately I found those problems after 2.1.8 was built. musachy On Wed, Sep 30, 2009 at 8:39 AM, cilquirm wrote: > > So, is this now part of struts 2.1.8? > Or will us people who can't build trunk have to wait for the next release? > > > > Musachy Barroso wrote: >> >> committed to trunk.

Re: parameters in url

2009-09-30 Thread cilquirm
So, is this now part of struts 2.1.8? Or will us people who can't build trunk have to wait for the next release? Musachy Barroso wrote: > > committed to trunk. To use it set: > > > > > > to use it with convention, convention needs to be built from trunk. > > musachy > > -- View th

Re: parameters in url

2009-09-25 Thread Musachy Barroso
committed to trunk. To use it set: to use it with convention, convention needs to be built from trunk. musachy On Thu, Sep 24, 2009 at 2:19 PM, Musachy Barroso wrote: > I find that using parameters in urls is confusing in struts, and there > are just too many (and not compatible) ways of

Re: parameters in url

2009-09-24 Thread Musachy Barroso
yes, that would work. musachy On Thu, Sep 24, 2009 at 7:01 PM, Alex Siman wrote: > > Very useful feature! It's SEO friendly and reduces/eliminates using of > UrlRewriteFilter. > > Is this code correct?: > > @Results({ >       �...@result( >                name = Action.SUCCESS, >                

Re: parameters in url

2009-09-24 Thread Frans Thamura
my opinion the /url/url/param/param is REST right, we need use convention and the package is the old model how can it run in the your dev envionment? F - To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional

Re: parameters in url

2009-09-24 Thread Alex Siman
Very useful feature! It's SEO friendly and reduces/eliminates using of UrlRewriteFilter. Is this code correct?: @Results({ @Result( name = Action.SUCCESS, location = "{2}.jsp" ) }) class TestAction { String bio, name; @Action("/{bi

Re: parameters in url

2009-09-24 Thread Frans Thamura
hi there i believe we cannot mix the old package xml with rest right -- Frans Thamura Meruvian. Experiential Tempation of Java and Enterprise OpenSource Meruvian bukan hanya membuat anak SMK menjadi bisa tapi SAKTI, malah saktinya SAKTI Mandraguna. Mobile: +62 855 7888 699i Blog & Profile: h

Re: parameters in url

2009-09-24 Thread Musachy Barroso
"Careful with that axe Eugene" The only change in xwork would be in AbstractMatcher:replaceParameters, because that method gets the params defined in the action mapping ({1}), and replaces it with the value extracted from the URL. My change is to also include additional params, so the field names

Re: parameters in url

2009-09-24 Thread Wes Wannemacher
Be careful overriding the pattern matcher. I use it in xwork to include files in the xml configuration provider. -W On 9/24/09, Musachy Barroso wrote: > meh, this one didn't put up much of a fight :). With these set > ("regex" alternative implementation of patternMatcher): > > > > > > I c

Re: parameters in url

2009-09-24 Thread Musachy Barroso
meh, this one didn't put up much of a fight :). With these set ("regex" alternative implementation of patternMatcher): I can do this: /tags/ui/example.jsp calling "/WorldDomination/test/LexLuthor" will set "bio" to "WorldDomination" and "name" to "LexLutho